aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-11 07:47:35 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-11 07:47:35 +0000
commit1f54d4937ff9dec44d633578540ec555d0630ea4 (patch)
treee3cc273e61ab9ffd8e814a08ef06f300500a0d84 /libsylph/utils.h
parent45bebb670ccc01678eb37f8de46ea0f67a496e55 (diff)
output g_log() messages to the log window and log file. Disabled console window on win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@631 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r--libsylph/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h
index 7796541b..311525b0 100644
--- a/libsylph/utils.h
+++ b/libsylph/utils.h
@@ -476,6 +476,9 @@ void set_log_show_status_func (LogFunc status_func);
void debug_print (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
void status_print (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
+void log_write (const gchar *str,
+ const gchar *prefix);
+
void log_print (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
void log_message (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
void log_warning (const gchar *format, ...) G_GNUC_PRINTF(1, 2);