mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 17:27:58 +08:00
Add env-dispatch flog category
This commit is contained in:
parent
4cb3ce0314
commit
f632a9e998
@ -135,7 +135,7 @@ void env_dispatch_init(const environment_t &vars) {
|
||||
/// Properly sets all timezone information.
|
||||
static void handle_timezone(const wchar_t *env_var_name, const environment_t &vars) {
|
||||
const auto var = vars.get(env_var_name, ENV_DEFAULT);
|
||||
debug(2, L"handle_timezone() current timezone var: |%ls| => |%ls|", env_var_name,
|
||||
FLOGF(env_dispatch, L"handle_timezone() current timezone var: |%ls| => |%ls|", env_var_name,
|
||||
!var ? L"MISSING" : var->as_string().c_str());
|
||||
const std::string &name = wcs2string(env_var_name);
|
||||
if (var.missing_or_empty()) {
|
||||
|
@ -80,6 +80,8 @@ class category_list_t {
|
||||
|
||||
category_t env_export{L"env-export", L"Changes to exported variables"};
|
||||
|
||||
category_t env_dispatch{L"env-dispatch", L"Reacting to variables"};
|
||||
|
||||
category_t uvar_file{L"uvar-file", L"Writing/reading the universal variable store"};
|
||||
|
||||
category_t topic_monitor{L"topic-monitor", L"Internal details of the topic monitor"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user