Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions libs/openFrameworks/utils/ofLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,17 +213,17 @@ shared_ptr<ofBaseLoggerChannel> ofGetLoggerChannel(){
string ofGetLogLevelName(ofLogLevel level, bool pad){
switch(level){
case OF_LOG_VERBOSE:
return "verbose";
return pad ? " verbose" : "verbose";
case OF_LOG_NOTICE:
return pad ? "notice " : "notice";
return pad ? " notice " : "notice";
case OF_LOG_WARNING:
return "warning";
return pad ? " warning" : "warning";
case OF_LOG_ERROR:
return pad ? " error " : "error";
return pad ? " error " : "error";
case OF_LOG_FATAL_ERROR:
return pad ? " fatal " : "fatal";
return pad ? " fatal " : "fatal";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dimitre there is:

  • extra space after fatal, error
  • missing space after verbose and warning

case OF_LOG_SILENT:
return pad ? "silent " : "silent";
return pad ? " silent " : "silent";
default:
return "";
}
Expand Down