Fixing possible server issues.
This commit is contained in:
1 parent
398805a136
commit
58d471e0de
2 files changed
+18
-9
No files matched your search
@@ -58,7 +58,10 @@ internal_log_err(const string &msg)
|
||||
{
|
||||
ofstream o(g_logFile.c_str(), ios_base::out | ios_base::app);
|
||||
if (!o.fail())
|
||||
{
|
||||
o << second_clock::local_time() << " ERR: " << msg;
|
||||
o.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user