From e215758b421a1c854187b5ccb25d4649d42a1c38 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 21 May 2017 03:08:03 +0300 Subject: [PATCH] Update ansicolor_sink.h --- include/spdlog/sinks/ansicolor_sink.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index 9b210c2a..d0871737 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -18,8 +18,9 @@ namespace sinks { /** - * @brief The ansi_color_sink prefixes the output with an ANSI escape sequence color code depending on the severity - * of the message. + * This sink prefixes the output with an ANSI escape sequence color code depending on the severity + * of the message. + * If no color terminal detected, omit the escape codes. */ template class ansicolor_sink SPDLOG_FINAL: public base_sink