From fc9736c1498e4454c1efcb0ccd0a6b908b77c3be Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 2 Oct 2006 00:39:01 +0000 Subject: [PATCH] 2006-10-01 Dan Williams * utils/nm-utils.h - Clean up formatting of debug/info/warning log messages git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2043 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 5 +++++ utils/nm-utils.h | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f65b928913..50b207b3d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-01 Dan Williams + + * utils/nm-utils.h + - Clean up formatting of debug/info/warning log messages + 2006-09-27 Robert Love Patch by Tambet Ingo : diff --git a/utils/nm-utils.h b/utils/nm-utils.h index 0cd7cb6e40..47050bb8a1 100644 --- a/utils/nm-utils.h +++ b/utils/nm-utils.h @@ -63,13 +63,13 @@ G_STMT_END #define nm_info(fmt, args...) \ G_STMT_START \ { \ - g_message ("\t" fmt "\n", ##args); \ + g_message (" " fmt "\n", ##args); \ } G_STMT_END #define nm_info_str(fmt_str, args...) \ G_STMT_START \ { \ - g_message ("\t%s\n", fmt_str, ##args); \ + g_message (" %s\n", fmt_str, ##args); \ } G_STMT_END #define nm_debug(fmt, args...) \ @@ -77,7 +77,7 @@ G_STMT_START \ { \ gdouble _timestamp; \ nm_get_timestamp (&_timestamp); \ - g_debug ("\t[%f] %s (): " fmt "\n", _timestamp, \ + g_debug (" [%f] %s(): " fmt "\n", _timestamp, \ G_STRFUNC, ##args); \ } G_STMT_END @@ -86,21 +86,21 @@ G_STMT_START \ { \ gdouble _timestamp; \ nm_get_timestamp (&_timestamp); \ - g_debug ("\t[%f] %s (): %s\n", _timestamp, \ + g_debug (" [%f] %s(): %s\n", _timestamp, \ G_STRFUNC, fmt_str, ##args); \ } G_STMT_END #define nm_warning(fmt, args...) \ G_STMT_START \ { \ - g_warning ("\t %s (): " fmt "\n", \ + g_warning (" %s(): " fmt "\n", \ G_STRFUNC, ##args); \ } G_STMT_END #define nm_warning_str(fmt_str, args...) \ G_STMT_START \ { \ - g_warning ("\t %s (): %s\n", \ + g_warning (" %s(): %s\n", \ G_STRFUNC, fmt_str, ##args); \ } G_STMT_END