Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr

To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
This commit is contained in:
Eric Rahm 2015-06-01 22:17:27 -07:00
Родитель fb40eb5516
Коммит 39e425f2b7
1 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -12,12 +12,11 @@
#include <sstream>
#include "mozilla/Logging.h"
#define ML_EMERG 1
#define ML_ERROR 2
#define ML_WARNING 3
#define ML_NOTICE 4
#define ML_INFO 5
#define ML_DEBUG 6
#define ML_ERROR PR_LOG_ERROR
#define ML_WARNING PR_LOG_WARNING
#define ML_NOTICE PR_LOG_INFO
#define ML_INFO PR_LOG_DEBUG
#define ML_DEBUG PR_LOG_VERBOSE
#define MOZ_MTLOG_MODULE(n) \
static PRLogModuleInfo* getLogModule() { \