fix typo in example
This commit is contained in:
parent
f310cc460f
commit
3a12f3c560
@ -24,8 +24,8 @@ int main(int, char*[])
|
|||||||
// Multithreaded color console
|
// Multithreaded color console
|
||||||
auto console = spd::stdout_logger_mt("console", true);
|
auto console = spd::stdout_logger_mt("console", true);
|
||||||
console->info("Welcome to spdlog!");
|
console->info("Welcome to spdlog!");
|
||||||
console->error("An info message example {}..", 1);
|
console->error("An error message example {}..", 1);
|
||||||
|
|
||||||
// Formatting examples
|
// Formatting examples
|
||||||
console->warn("Easy padding in numbers like {:08d}", 12);
|
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);
|
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