summaryrefslogtreecommitdiff
path: root/src/plugins/logger/logger-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/logger/logger-buffer.c')
-rw-r--r--src/plugins/logger/logger-buffer.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/plugins/logger/logger-buffer.c b/src/plugins/logger/logger-buffer.c
index a5317a36e..7acdb13f7 100644
--- a/src/plugins/logger/logger-buffer.c
+++ b/src/plugins/logger/logger-buffer.c
@@ -79,11 +79,10 @@ logger_buffer_add (struct t_gui_buffer *buffer, int log_level)
if (weechat_logger_plugin->debug)
{
- weechat_printf_tags (NULL,
- "no_log",
- "%s: start logging for buffer \"%s\"",
- LOGGER_PLUGIN_NAME,
- weechat_buffer_get_string (buffer, "name"));
+ weechat_printf_date_tags (NULL, 0, "no_log",
+ "%s: start logging for buffer \"%s\"",
+ LOGGER_PLUGIN_NAME,
+ weechat_buffer_get_string (buffer, "name"));
}
new_logger_buffer = malloc (sizeof (*new_logger_buffer));
@@ -197,11 +196,11 @@ logger_buffer_free (struct t_logger_buffer *logger_buffer)
if (weechat_logger_plugin->debug)
{
- weechat_printf_tags (NULL,
- "no_log",
- "%s: stop logging for buffer \"%s\"",
- LOGGER_PLUGIN_NAME,
- weechat_buffer_get_string (ptr_buffer, "name"));
+ weechat_printf_date_tags (
+ NULL, 0, "no_log",
+ "%s: stop logging for buffer \"%s\"",
+ LOGGER_PLUGIN_NAME,
+ weechat_buffer_get_string (ptr_buffer, "name"));
}
}