indentlog: refactor: retire log_config.encoding

This commit is contained in:
Roland Conybeare 2023-09-18 12:57:10 -04:00
commit e674fe65b1
2 changed files with 0 additions and 7 deletions

View file

@ -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);

View file

@ -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<Tag>::style = FS_Streamlined;
template <typename Tag>
color_encoding
log_config_impl<Tag>::encoding = CE_Ansi;
template <typename Tag>
color_spec
log_config_impl<Tag>::function_entry_color = color_spec::ansi(34);