Commit 3a12f3c5 authored by gabime's avatar gabime

fix typo in example

parent f310cc46
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment