mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
MONGO_IF
This commit is contained in:
parent
80b34c1b3c
commit
d3de3070ef
@ -342,7 +342,7 @@ namespace mongo {
|
||||
return Logstream::get().prolog();
|
||||
}
|
||||
|
||||
#define MONGO_LOG(level) if ( logLevel >= (level) ) log( level )
|
||||
#define MONGO_LOG(level) MONGO_IF ( logLevel >= (level) ) log( level )
|
||||
#define LOG MONGO_LOG
|
||||
|
||||
inline Nullstream& log( LogLevel l ) {
|
||||
|
Loading…
Reference in New Issue
Block a user