nestlog: examples/ex3.cpp: minor tweaks

This commit is contained in:
Roland Conybeare 2023-09-16 14:21:09 -04:00
commit 5b80fe2d20

View file

@ -21,19 +21,22 @@ fib(int n) {
int
main(int argc, char ** argv) {
//std::cerr << "0 1 2 3 4 5 6 7 8 9 10" << std::endl;
//std::cerr << "01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" << std::endl;
log_config::min_log_level = log_level::info;
log_config::time_enabled = true;
log_config::time_local_flag = true;
log_config::style = FS_Streamlined;
log_config::indent_width = 4;
log_config::max_indent_width = 30;
log_config::location_tab = 100;
log_config::location_tab = 80;
log_config::encoding = CE_Xterm;
log_config::function_entry_color = 69;
log_config::function_exit_color = 70;
log_config::code_location_color = 166;
int n = 9;
int n = 3;
scope log(XO_ENTER0(info), ":n ", 4);