Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 3, 2025
1 parent 657b886 commit a03f40c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ void logToFileMessageHander( QtMsgType type, const QMessageLogContext & context,
return;
}
else {
fprintf(stderr,"log file failed to open\n!");
fprintf(stderr,"%s\n",message.toUtf8().constData());
fprintf( stderr, "log file failed to open\n!" );
fprintf( stderr, "%s\n", message.toUtf8().constData() );
}
}

namespace Logger{
namespace Logger {
void switchLoggingMethod( bool logToFile )
{
QMutexLocker _( &logFileMutex );
Expand Down Expand Up @@ -75,4 +75,4 @@ void closeLogFile()
logFile.close();
}
}
}
} // namespace Logger

0 comments on commit a03f40c

Please sign in to comment.