Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
captainurist committed Oct 31, 2023
1 parent 86cf777 commit 0fdd9b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/GameConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class GameConfig : public Config {
Bool NoMargaret = {this, "no_margareth", false, "Disable Margaret's tour messages on Emerald Island."};

ConfigEntry<::LogLevel> LogLevel = {this, "log_level", LOG_ERROR,
"Default log level. One of 'verbose', 'debug', 'info', 'warning', 'error' and 'critical'."};
"Default log level. One of 'trace', 'debug', 'info', 'warning', 'error' and 'critical'."};

Int TraceFrameTimeMs = {this, "trace_frame_time_ms", 50, &ValidateFrameTime,
"Number of milliseconds per frame when recording game traces."};
Expand Down
1 change: 1 addition & 0 deletions src/Media/FFmpegLogProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ void FFmpegLogProxy::log(void *ptr, int level, const char *format, va_list args)
} else {
state.message += buffer;
if (state.message.ends_with('\n')) {
state.message.pop_back(); // Drop the '\n'.
_logger->log(globalFFmpegLogCategory, FFmpegLogSource::translateFFmpegLogLevel(level), "{}", state.message);
state.message.clear();
}
Expand Down

0 comments on commit 0fdd9b6

Please sign in to comment.