diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-31 13:52:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-31 13:52:47 +0300 |
commit | ac4513a5b84017e5e95fc4b84e3e8444fd2c8494 (patch) | |
tree | dd1f668cedbffba0ae019446fffe4239a4df13cf /intern/clog/CLG_log.h | |
parent | 5f59c22bf1ab5387f23fc9f4b5cf53b85f2582b8 (diff) |
Logging: add ability to exclude categories.
Diffstat (limited to 'intern/clog/CLG_log.h')
-rw-r--r-- | intern/clog/CLG_log.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/clog/CLG_log.h b/intern/clog/CLG_log.h index 0ac4a8dc5d9..b0d77281445 100644 --- a/intern/clog/CLG_log.h +++ b/intern/clog/CLG_log.h @@ -41,7 +41,8 @@ * You can define and use identifiers as needed, logging will lazily initialize them. * * By convention lower case dot separated identifiers are used, eg: - * `module.sub_module`, this allows filtering by `module.*`, see #CLG_type_filter + * `module.sub_module`, this allows filtering by `module.*`, + * see #CLG_type_filter_include, #CLG_type_filter_exclude * * There is currently no functionality to remove a category once it's created. * @@ -145,7 +146,8 @@ void CLG_exit(void); void CLG_output_set(void *file_handle); void CLG_fatal_fn_set(void (*fatal_fn)(void *file_handle)); -void CLG_type_filter(const char *type_filter, int type_filter_len); +void CLG_type_filter_include(const char *type_filter, int type_filter_len); +void CLG_type_filter_exclude(const char *type_filter, int type_filter_len); void CLG_logref_init(CLG_LogRef *clg_ref); |