From 79ee59adc01dc823c1e10dd0c5b323042a7accab Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 9 Jun 2019 13:21:58 -0700 Subject: [PATCH] Convert the create_export_array message to flog --- src/env.cpp | 2 +- src/flog.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/env.cpp b/src/env.cpp index 90d0a5839..9a9197bd8 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -581,7 +581,7 @@ std::shared_ptr> env_scoped_impl_t::create_e const { var_table_t table; - debug(4, L"create_export_array() recalc"); + FLOG(env_export, L"create_export_array() recalc"); var_table_t vals; get_exported(this->globals_, vals); get_exported(this->locals_, vals); diff --git a/src/flog.h b/src/flog.h index 94c2a236c..7a6e0e775 100644 --- a/src/flog.h +++ b/src/flog.h @@ -63,6 +63,8 @@ class category_list_t { category_t env_locale{L"env-locale", L"Changes to locale variables"}; + category_t env_export{L"env-export", L"Changes to exported variables"}; + category_t topic_monitor{L"topic-monitor", L"Internal details of the topic monitor"}; };