mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
12 lines
181 B
C++
12 lines
181 B
C++
|
#include "includes.h"
|
||
|
|
||
|
void prepare_logdir()
|
||
|
{
|
||
|
spdlog::drop_all();
|
||
|
#ifdef _WIN32
|
||
|
auto rv = system("del /F /Q logs\\*");
|
||
|
#else
|
||
|
auto rv = system("rm -f logs/*");
|
||
|
#endif
|
||
|
}
|