Skip to content

Commit

Permalink
Lowered log priority
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Mar 15, 2024
1 parent 38048e7 commit 24a17f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tyrant_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void load_db(std::string prefix)
{
if (use_db_load)
{
_DEBUG_MSG(0, "start loading db\n");
_DEBUG_MSG(1, "start loading db\n");
// open file to read from
std::ifstream file;
file.open(prefix + "data/database.yml");
Expand Down Expand Up @@ -334,7 +334,7 @@ void load_db(std::string prefix)
}
// close file
file.close();
_DEBUG_MSG(0, "done loading db\n");
_DEBUG_MSG(1, "done loading db\n");
}
}

Expand All @@ -343,7 +343,7 @@ void write_db(std::string prefix)
{
if (use_db_write)
{
_DEBUG_MSG(0, "start writing to db\n");
_DEBUG_MSG(1, "start writing to db\n");
// open file to write to
std::ofstream file;
file.open(prefix + "data/database.yml");
Expand All @@ -368,7 +368,7 @@ void write_db(std::string prefix)
}
// close file
file.close();
_DEBUG_MSG(0, "done writing to db\n");
_DEBUG_MSG(1, "done writing to db\n");
}
}

Expand Down

0 comments on commit 24a17f2

Please sign in to comment.