Skip to content

Commit

Permalink
Remove CLEO4 log file on start.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Nov 27, 2024
1 parent ee58bc4 commit 6da9221
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/CDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class CDebug
#else
CLEO::Trace(CLEO::eLogLevel::Default, "CLEO v%s", CLEO_VERSION_STR);
#endif

std::remove("cleo.log"); // delete CLEO 4 log file if present
}

~CDebug()
Expand Down

0 comments on commit 6da9221

Please sign in to comment.