summaryrefslogtreecommitdiff
path: root/util/log.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-06-28 16:59:15 -0400
committerEliot Horowitz <eliot@10gen.com>2010-06-28 16:59:15 -0400
commit372aa5f6129425c06f5b55110a474f4da1b48dfc (patch)
tree84adbb6760af823376f51ca28fc0f053972029b2 /util/log.h
parent4b82270f1cb25b0e19dbfa5011a21996b135c4b8 (diff)
downloadmongo-372aa5f6129425c06f5b55110a474f4da1b48dfc.tar.gz
win64 names
Diffstat (limited to 'util/log.h')
-rw-r--r--util/log.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/log.h b/util/log.h
index df4d419fa1a..39aacb41ebd 100644
--- a/util/log.h
+++ b/util/log.h
@@ -29,19 +29,19 @@ namespace mongo {
using boost::shared_ptr;
- enum LogLevel { DEBUG , INFO , NOTICE , WARNING , ERROR , SEVERE };
+ enum LogLevel { LL_DEBUG , LL_INFO , LL_NOTICE , LL_WARNING , LL_ERROR , LL_SEVERE };
inline const char * logLevelToString( LogLevel l ){
switch ( l ){
- case DEBUG:
- case INFO:
- case NOTICE:
+ case LL_DEBUG:
+ case LL_INFO:
+ case LL_NOTICE:
return "";
- case WARNING:
+ case LL_WARNING:
return "warning" ;
- case ERROR:
+ case LL_ERROR:
return "ERROR";
- case SEVERE:
+ case LL_SEVERE:
return "SEVERE";
default:
return "UNKNOWN";
@@ -241,7 +241,7 @@ namespace mongo {
}
void _init(){
ss.str("");
- logLevel = INFO;
+ logLevel = LL_INFO;
}
public:
static Logstream& get() {