updated example
This commit is contained in:
parent
14273418d9
commit
df9fc0e203
@ -135,9 +135,7 @@ int main(int, char* [])
|
||||
spdlog::set_async_mode(q_size);
|
||||
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!";
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
// syslog example
|
||||
std::string ident = "spdlog-example";
|
||||
|
@ -74,9 +74,7 @@ int main(int, char* [])
|
||||
spdlog::set_async_mode(q_size);
|
||||
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!";
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
// syslog example
|
||||
std::string ident = "spdlog-example";
|
||||
|
Loading…
Reference in New Issue
Block a user