summaryrefslogtreecommitdiff
path: root/src/plugins/logger/logger.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-20 17:07:55 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-20 17:08:34 +0200
commitc3c218035a9325d47949bf56d57543b2a243098c (patch)
tree3891fed4b3cb724b952eb1195b42913afb96a7c0 /src/plugins/logger/logger.h
parent7461a5cb870953259f2d9dd5562ec88d707d05df (diff)
downloadweechat-c3c218035a9325d47949bf56d57543b2a243098c.zip
logger: add option logger.file.log_conditions (closes #1942)
Diffstat (limited to 'src/plugins/logger/logger.h')
-rw-r--r--src/plugins/logger/logger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/logger/logger.h b/src/plugins/logger/logger.h
index e1b5a137e..2b94acab4 100644
--- a/src/plugins/logger/logger.h
+++ b/src/plugins/logger/logger.h
@@ -34,6 +34,8 @@ extern struct t_weechat_plugin *weechat_logger_plugin;
extern struct t_hook *logger_hook_timer;
extern struct t_hook *logger_hook_print;
+extern int logger_check_conditions (struct t_gui_buffer *buffer,
+ const char *conditions);
extern int logger_create_directory ();
extern char *logger_build_option_name (struct t_gui_buffer *buffer);
extern int logger_get_level_for_buffer (struct t_gui_buffer *buffer);