diff --git a/example/example.cpp b/example/example.cpp index 4b526841..3cd1d533 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -65,6 +65,7 @@ void stdout_example() auto err_logger = spdlog::stderr_logger_mt("error_logger"); err_logger->error("Some error message"); + // 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);