cwLog.cpp : Fix bug where sysStr was printed on info level logs
This commit is contained in:
parent
12085730a5
commit
376684e3b5
@ -178,7 +178,10 @@ void cw::log::defaultFormatter( void* cbArg, logOutputCbFunc_t outFunc, void* ou
|
||||
|
||||
// don't print the function,file,line when this is an 'info' msg.
|
||||
if( level == kInfo_LogLevel )
|
||||
{
|
||||
loStr = "";
|
||||
syStr = "";
|
||||
}
|
||||
|
||||
// dont' print the rc msg if this is info or debug
|
||||
if( level < kWarning_LogLevel )
|
||||
|
Loading…
Reference in New Issue
Block a user