mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
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:
parent
67f6de2a30
commit
b28e274194
@ -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() { \
|
||||
|
Loading…
Reference in New Issue
Block a user