Renamed file to pattern_forammter.h and fixed utc support

This commit is contained in:
gabime
2018-07-07 16:15:17 +03:00
parent cbc4db8649
commit c9331594bb
7 changed files with 17 additions and 14 deletions

View File

@@ -65,7 +65,7 @@ void stdout_example()
auto err_logger = spdlog::stderr_color_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);