summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-11-24 18:08:41 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-11-24 18:08:41 +0100
commitab2dbe8151fe078caf4ed26bacb25be656e5aa94 (patch)
treedd810521c1c71b5cae862076163d6cab962e4ecb /src/plugins
parent26f31bb367bd7f7b99095451c8513552404cf1c2 (diff)
downloadweechat-ab2dbe8151fe078caf4ed26bacb25be656e5aa94.zip
Renamed WeeChat log functions
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugin-config.c2
-rw-r--r--src/plugins/plugin-list.c44
-rw-r--r--src/plugins/plugin.c20
3 files changed, 33 insertions, 33 deletions
diff --git a/src/plugins/plugin-config.c b/src/plugins/plugin-config.c
index 9c15cd620..197fe1182 100644
--- a/src/plugins/plugin-config.c
+++ b/src/plugins/plugin-config.c
@@ -328,7 +328,7 @@ plugin_config_write_options (FILE *file, char *section_name,
int
plugin_config_write ()
{
- weechat_log_printf (_("Saving plugins configuration to disk\n"));
+ log_printf (_("Saving plugins configuration to disk\n"));
return config_file_write (plugin_config_sections, plugin_config_options,
plugin_config_write_functions,
WEECHAT_PLUGIN_CONFIG_NAME);
diff --git a/src/plugins/plugin-list.c b/src/plugins/plugin-list.c
index 4316bb9c4..47bf4843f 100644
--- a/src/plugins/plugin-list.c
+++ b/src/plugins/plugin-list.c
@@ -564,36 +564,36 @@ plugin_list_print_log ()
for (ptr_list = plugin_lists; ptr_list;
ptr_list = ptr_list->next_list)
{
- weechat_log_printf ("\n");
- weechat_log_printf ("[plugin list (addr:0x%X)]\n", ptr_list);
- weechat_log_printf (" items. . . . . . . . . : 0x%X\n", ptr_list->items);
- weechat_log_printf (" last_item. . . . . . . : 0x%X\n", ptr_list->last_item);
- weechat_log_printf (" ptr_item . . . . . . . : 0x%X\n", ptr_list->ptr_item);
- weechat_log_printf (" prev_list. . . . . . . : 0x%X\n", ptr_list->prev_list);
- weechat_log_printf (" next_list. . . . . . . : 0x%X\n", ptr_list->next_list);
+ log_printf ("\n");
+ log_printf ("[plugin list (addr:0x%X)]\n", ptr_list);
+ log_printf (" items. . . . . . . . . : 0x%X\n", ptr_list->items);
+ log_printf (" last_item. . . . . . . : 0x%X\n", ptr_list->last_item);
+ log_printf (" ptr_item . . . . . . . : 0x%X\n", ptr_list->ptr_item);
+ log_printf (" prev_list. . . . . . . : 0x%X\n", ptr_list->prev_list);
+ log_printf (" next_list. . . . . . . : 0x%X\n", ptr_list->next_list);
for (ptr_item = ptr_list->items; ptr_item;
ptr_item = ptr_item->next_item)
{
- weechat_log_printf ("\n");
- weechat_log_printf (" [item (addr:0x%X)]\n", ptr_item);
- weechat_log_printf (" vars . . . . . . . . . : 0x%X\n", ptr_item->vars);
- weechat_log_printf (" last_var . . . . . . . : 0x%X\n", ptr_item->last_var);
- weechat_log_printf (" prev_item. . . . . . . : 0x%X\n", ptr_item->prev_item);
- weechat_log_printf (" next_item. . . . . . . : 0x%X\n", ptr_item->next_item);
+ log_printf ("\n");
+ log_printf (" [item (addr:0x%X)]\n", ptr_item);
+ log_printf (" vars . . . . . . . . . : 0x%X\n", ptr_item->vars);
+ log_printf (" last_var . . . . . . . : 0x%X\n", ptr_item->last_var);
+ log_printf (" prev_item. . . . . . . : 0x%X\n", ptr_item->prev_item);
+ log_printf (" next_item. . . . . . . : 0x%X\n", ptr_item->next_item);
for (ptr_var = ptr_item->vars; ptr_var;
ptr_var = ptr_var->next_var)
{
- weechat_log_printf ("\n");
- weechat_log_printf (" [var (addr:0x%X)]\n", ptr_var);
- weechat_log_printf (" name . . . . . . . . : '%s'\n", ptr_var->name);
- weechat_log_printf (" type . . . . . . . . : %d\n", ptr_var->type);
- weechat_log_printf (" value_int. . . . . . : %d\n", ptr_var->value_int);
- weechat_log_printf (" value_string . . . . : '%s'\n", ptr_var->value_string);
- weechat_log_printf (" value_time . . . . . : %ld\n", ptr_var->value_time);
- weechat_log_printf (" prev_var . . . . . . : 0x%X\n", ptr_var->prev_var);
- weechat_log_printf (" next_var . . . . . . : 0x%X\n", ptr_var->next_var);
+ log_printf ("\n");
+ log_printf (" [var (addr:0x%X)]\n", ptr_var);
+ log_printf (" name . . . . . . . . : '%s'\n", ptr_var->name);
+ log_printf (" type . . . . . . . . : %d\n", ptr_var->type);
+ log_printf (" value_int. . . . . . : %d\n", ptr_var->value_int);
+ log_printf (" value_string . . . . : '%s'\n", ptr_var->value_string);
+ log_printf (" value_time . . . . . : %ld\n", ptr_var->value_time);
+ log_printf (" prev_var . . . . . . : 0x%X\n", ptr_var->prev_var);
+ log_printf (" next_var . . . . . . : 0x%X\n", ptr_var->next_var);
}
}
}
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index adc5bb67c..7734d8503 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -593,16 +593,16 @@ plugin_print_log ()
for (ptr_plugin = weechat_plugins; ptr_plugin;
ptr_plugin = ptr_plugin->next_plugin)
{
- weechat_log_printf ("\n");
- weechat_log_printf ("[plugin (addr:0x%X)]\n", ptr_plugin);
- weechat_log_printf (" filename . . . . . . . : '%s'\n", ptr_plugin->filename);
- weechat_log_printf (" handle . . . . . . . . : 0x%X\n", ptr_plugin->handle);
- weechat_log_printf (" name . . . . . . . . . : '%s'\n", ptr_plugin->name);
- weechat_log_printf (" description. . . . . . : '%s'\n", ptr_plugin->description);
- weechat_log_printf (" version. . . . . . . . : '%s'\n", ptr_plugin->version);
- weechat_log_printf (" charset. . . . . . . . : '%s'\n", ptr_plugin->charset);
- weechat_log_printf (" prev_plugin. . . . . . : 0x%X\n", ptr_plugin->prev_plugin);
- weechat_log_printf (" next_plugin. . . . . . : 0x%X\n", ptr_plugin->next_plugin);
+ log_printf ("\n");
+ log_printf ("[plugin (addr:0x%X)]\n", ptr_plugin);
+ log_printf (" filename . . . . . . . : '%s'\n", ptr_plugin->filename);
+ log_printf (" handle . . . . . . . . : 0x%X\n", ptr_plugin->handle);
+ log_printf (" name . . . . . . . . . : '%s'\n", ptr_plugin->name);
+ log_printf (" description. . . . . . : '%s'\n", ptr_plugin->description);
+ log_printf (" version. . . . . . . . : '%s'\n", ptr_plugin->version);
+ log_printf (" charset. . . . . . . . : '%s'\n", ptr_plugin->charset);
+ log_printf (" prev_plugin. . . . . . : 0x%X\n", ptr_plugin->prev_plugin);
+ log_printf (" next_plugin. . . . . . : 0x%X\n", ptr_plugin->next_plugin);
}
plugin_list_print_log ();