summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/log.h')
-rw-r--r--pjlib/include/pj/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pjlib/include/pj/log.h b/pjlib/include/pj/log.h
index 4b2083c2..b7a258f7 100644
--- a/pjlib/include/pj/log.h
+++ b/pjlib/include/pj/log.h
@@ -220,6 +220,10 @@ PJ_DECL(void) pj_log_set_color(int level, pj_color_t color);
*/
PJ_DECL(pj_color_t) pj_log_get_color(int level);
+/**
+ * Internal function to be called by pj_init()
+ */
+pj_status_t pj_log_init(void);
#else /* #if PJ_LOG_MAX_LEVEL >= 1 */
@@ -288,6 +292,11 @@ PJ_DECL(pj_color_t) pj_log_get_color(int level);
# define pj_log_get_color(level) 0
+/**
+ * Internal.
+ */
+# define pj_log_init() PJ_SUCCESS
+
#endif /* #if PJ_LOG_MAX_LEVEL >= 1 */
/**