fix typo in example

This commit is contained in:
gabime 2016-09-02 15:00:51 +03:00
parent f310cc460f
commit 3a12f3c560
1 changed files with 2 additions and 2 deletions

View File

@ -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);