From e674fe65b13f7f907e15beed8e432a6ce54aca91 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 18 Sep 2023 12:57:10 -0400 Subject: [PATCH] indentlog: refactor: retire log_config.encoding --- example/ex3/ex3.cpp | 1 - include/indentlog/log_config.hpp | 6 ------ 2 files changed, 7 deletions(-) diff --git a/example/ex3/ex3.cpp b/example/ex3/ex3.cpp index 69ad095d..ab343dd4 100644 --- a/example/ex3/ex3.cpp +++ b/example/ex3/ex3.cpp @@ -31,7 +31,6 @@ main(int argc, char ** argv) { log_config::indent_width = 4; log_config::max_indent_width = 30; log_config::location_tab = 80; - log_config::encoding = CE_Xterm; log_config::function_entry_color = color_spec::xterm(69); log_config::function_exit_color = color_spec::xterm(70); log_config::code_location_color = color_spec::xterm(166); diff --git a/include/indentlog/log_config.hpp b/include/indentlog/log_config.hpp index b239aa60..ff63ade1 100644 --- a/include/indentlog/log_config.hpp +++ b/include/indentlog/log_config.hpp @@ -29,8 +29,6 @@ namespace xo { static color_spec nesting_level_color; /* display style for function names. FS_Simple|FS_Pretty|FS_Streamlined */ static function_style style; - /* color encoding */ - static color_encoding encoding; /* color to use for function name, on entry/exit (xo::scope creation/destruction) * (ansi color codes, see Select Graphics Rendition subset) */ @@ -80,10 +78,6 @@ namespace xo { function_style log_config_impl::style = FS_Streamlined; - template - color_encoding - log_config_impl::encoding = CE_Ansi; - template color_spec log_config_impl::function_entry_color = color_spec::ansi(34);