0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

better log

This commit is contained in:
Eliot Horowitz 2010-06-30 23:20:20 -04:00
parent a47f13a9af
commit 6d596a5d64

View File

@ -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();
}