mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
better log
This commit is contained in:
parent
a47f13a9af
commit
6d596a5d64
@ -173,10 +173,10 @@ namespace mongo {
|
||||
//syslog( LOG_INFO , "%s" , cc );
|
||||
#endif
|
||||
|
||||
cout << type << ( type[0] ? ": " : "" );
|
||||
if ( ! threadName.empty() ){
|
||||
cout << threadName << " ";
|
||||
}
|
||||
cout << type << ( type[0] ? ": " : "" );
|
||||
cout << s;
|
||||
cout.flush();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user