Skip to content

Commit

Permalink
Fix debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
WiserTixx committed Oct 5, 2024
1 parent d26e032 commit c99fecf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ void info(const std::string& toPrint) {
addToLog(Print);
}
void debug(const std::string& toPrint) {
if (!options.verbose)
return;
std::string Print = getDate() + "[DEBUG] " + toPrint + "\n";
if (Dev) {
if (options.verbose) {
std::cout << Print;
}
addToLog(Print);
Expand Down

0 comments on commit c99fecf

Please sign in to comment.