mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
New features: - new command /logger - log level, to log only some messages, according to importance (task #8592) - level by buffer: custom level for some buffers (or group of buffers) - log filename mask by buffer (or group of buffers) - marker line is added after display of backlog - add "delete" callback for config file sections - add "mkdir_parents" function to plugin API - remove old log options in IRC plugin Bug fix: - marker line is set only when user switches buffer (not when a plugin force switch, like IRC plugin does when opening server or channel buffer) - backlog fixed (sometimes lines were not properly displayed)
This commit is contained in:
@@ -27,10 +27,6 @@ extern char *plugin_api_gettext (const char *string);
|
||||
extern char *plugin_api_ngettext (const char *single, const char *plural,
|
||||
int count);
|
||||
|
||||
/* directories */
|
||||
extern int plugin_api_mkdir_home (const char *directory, int mode);
|
||||
extern int plugin_api_mkdir (const char *directory, int mode);
|
||||
|
||||
/* config */
|
||||
extern struct t_config_option *plugin_api_config_get (const char *option_name);
|
||||
extern char *plugin_api_config_get_plugin (struct t_weechat_plugin *plugin,
|
||||
|
||||
Reference in New Issue
Block a user