mirror of
https://github.com/gabime/spdlog.git
synced 2026-02-20 15:22:13 +00:00
example fix
This commit is contained in:
@@ -70,7 +70,7 @@ int main(int, char* [])
|
||||
|
||||
size_t max_q_size = 100000;
|
||||
spdlog::set_async_mode(max_q_size);
|
||||
auto async_file= spd::daily_logger_st("async_file_logger", "async_" + filename);
|
||||
auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
|
||||
async_file->info() << "This is async log.." << "Should be very fast!";
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user