Unverified Commit f70f2f8c authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #936 from bzindovic/v1.x

Corrected the text alignment in the example
parents bd6d88b8 8d6086da
......@@ -31,7 +31,7 @@ int main(int, char *[])
spdlog::critical("Support for int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);
spdlog::info("Support for floats {:03.2f}", 1.23456);
spdlog::info("Positional args are {1} {0}..", "too", "supported");
spdlog::info("{:>8} aligned, {:>8} aligned", "right", "left");
spdlog::info("{:>8} aligned, {:<8} aligned", "right", "left");
// Runtime log levels
spdlog::set_level(spdlog::level::info); // Set global log level to info
......
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