Skip to content

Commit

Permalink
logger: append log file
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapmex committed Sep 19, 2024
1 parent 9b913b7 commit ae26a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/colorer/SimpleLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SimpleLogger : public Logger
SimpleLogger(const std::string& filename, const std::string& log_level)
{
current_level = getLogLevel(log_level);
ofs.open(filename.c_str(), std::ofstream::out);
ofs.open(filename.c_str(), std::ofstream::out | std::ofstream::app);
}

~SimpleLogger() override { ofs.close(); }
Expand Down

0 comments on commit ae26a12

Please sign in to comment.