From 8d6086da4856df510657ffe4ef6b894e902b4b83 Mon Sep 17 00:00:00 2001 From: Budo Zindovic Date: Thu, 6 Dec 2018 01:30:07 +0100 Subject: [PATCH] Corrected the text alignment in the example I've changed the alignment character in the example to illustrate left alignment of text. --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 026004b8..345f8bd1 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -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