aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 5943cb6..20c94e9 100644
--- a/src/log.h
+++ b/src/log.h
@@ -40,9 +40,10 @@
} \
}
#define C(fmt, ...) log_fmt(CMD, fmt, __VA_ARGS__)
+#define P(fmt, ...) log_fmt(PROTOCOL, fmt, __VA_ARGS__)
typedef enum log_priority {
- DEBUG = 0, NOTICE, WARNING, ERROR, CMD
+ DEBUG = 0, PROTOCOL, NOTICE, WARNING, ERROR, CMD
} log_priority;
typedef int (*log_open_cb) (void);