Skip to content

Commit

Permalink
Improve error log handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Nov 1, 2023
1 parent bf13e2d commit ade0fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void Init(std::string_view logPath, LoggerConfig const& config) {
}

WriteStdOut(ANDROID_LOG_INFO, "PAPERLOG",
fmt::format("Logging paper to folder {} and file {}", logPath.data(), globalFileName));
"Logging paper to folder " + std::string(logPath) + "and file " + globalFileName);

globalLoggerConfig = { config };
globalLogPath = logPath;
Expand Down

0 comments on commit ade0fc4

Please sign in to comment.