mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
reordered members definition in async_log_helper to prevent gcc warning
This commit is contained in:
@@ -38,7 +38,8 @@ int main(int, char* [])
|
||||
|
||||
// Create console, multithreaded logger
|
||||
auto console = spd::stdout_logger_mt("console");
|
||||
console->info("Welcome to spdlog!") ;
|
||||
const std::string s("Hello {}", 1);
|
||||
console->info(s) ;
|
||||
console->info("An info message example {}..", 1);
|
||||
console->info() << "Streams are supported too " << 1;
|
||||
|
||||
|
Reference in New Issue
Block a user