feat log file append
This commit is contained in:
parent
a137ee1f1c
commit
54e9a4e1b4
@ -111,7 +111,7 @@ void
|
|||||||
SetLogFileName(const char *file_name)
|
SetLogFileName(const char *file_name)
|
||||||
{
|
{
|
||||||
g_log_file_name = file_name;
|
g_log_file_name = file_name;
|
||||||
g_log_stream.open(file_name);
|
g_log_stream.open(file_name, std::ios_base::app);
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::atomic<uint32_t> g_current_id(0);
|
static std::atomic<uint32_t> g_current_id(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user