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-03 15:22:36 -07:00
parent 67f6de2a30
commit b28e274194

View File

@ -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() { \