Add path flog category

This commit is contained in:
Fabian Homborg 2020-01-19 14:44:30 +01:00
parent f632a9e998
commit 26fa774f44
2 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ class category_list_t {
category_t reader{L"reader", L"The interactive reader/input system"};
category_t complete{L"complete", L"The completion system"};
category_t path{L"path", L"Searching/using paths"};
};
/// The class responsible for logging.

View File

@ -122,7 +122,7 @@ bool path_get_path(const wcstring &cmd, wcstring *out_path, const environment_t
}
wcstring_list_t path_get_paths(const wcstring &cmd, const environment_t &vars) {
debug(3, L"path_get_paths('%ls')", cmd.c_str());
FLOGF(path, L"path_get_paths('%ls')", cmd.c_str());
wcstring_list_t paths;
// If the command has a slash, it must be an absolute or relative path and thus we don't bother