Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
fix log file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vektor committed Feb 1, 2022
1 parent 588e8bb commit 0f69922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void logger::write(const char* type, const char* msg, ...)

if (config::get_log(type))
{
std::ofstream logFile("ClosedIV.log", std::ofstream::out);
std::ofstream logFile("ClosedIV.log", std::ofstream::out | std::ofstream::app);
logFile.write(buffer, strlen(buffer));
logFile.write("\n", 1);
logFile.close();
Expand Down

0 comments on commit 0f69922

Please sign in to comment.