mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-21 03:12:41 +08:00
fix typo in example
This commit is contained in:
parent
f310cc460f
commit
3a12f3c560
@ -24,8 +24,8 @@ int main(int, char*[])
|
||||
// Multithreaded color console
|
||||
auto console = spd::stdout_logger_mt("console", true);
|
||||
console->info("Welcome to spdlog!");
|
||||
console->error("An info message example {}..", 1);
|
||||
|
||||
console->error("An error message example {}..", 1);
|
||||
|
||||
// Formatting examples
|
||||
console->warn("Easy padding in numbers like {:08d}", 12);
|
||||
console->critical("Support for int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);
|
||||
|
Loading…
Reference in New Issue
Block a user