[gnome-builder] libide: adjust trace messaging



commit 20d6fdeca10f4390bda489b7c79400317b4043a4
Author: Christian Hergert <christian hergert me>
Date:   Tue Mar 3 00:04:27 2015 -0800

    libide: adjust trace messaging

 libide/ide-debug.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libide/ide-debug.h b/libide/ide-debug.h
index 4b46583..0eed1c0 100644
--- a/libide/ide-debug.h
+++ b/libide/ide-debug.h
@@ -36,10 +36,10 @@ G_BEGIN_DECLS
 
 #ifndef IDE_DISABLE_TRACE
 # define IDE_TRACE_MSG(fmt, ...)                                       \
-   g_log(G_LOG_DOMAIN, G_LOG_LEVEL_TRACE, "TRACE: %s():%d: "fmt,       \
+   g_log(G_LOG_DOMAIN, G_LOG_LEVEL_TRACE, "  MSG: %s():%d: "fmt,       \
          G_STRFUNC, __LINE__, ##__VA_ARGS__)
-# define IDE_TRACE                                                     \
-   g_log(G_LOG_DOMAIN, G_LOG_LEVEL_TRACE, "TRACE: %s():%d",            \
+# define IDE_PROBE                                                     \
+   g_log(G_LOG_DOMAIN, G_LOG_LEVEL_TRACE, "PROBE: %s():%d",            \
          G_STRFUNC, __LINE__)
 # define IDE_TODO(_msg)                                                \
    g_log(G_LOG_DOMAIN, G_LOG_LEVEL_TRACE, " TODO: %s():%d: %s",        \
@@ -67,7 +67,7 @@ G_BEGIN_DECLS
    } G_STMT_END
 #else
 # define IDE_TODO(_msg)
-# define IDE_TRACE
+# define IDE_PROBE
 # define IDE_TRACE_MSG(fmt, ...)
 # define IDE_ENTRY
 # define IDE_GOTO(_l)   goto _l


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]