summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-11-11 15:08:19 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-11-11 15:08:19 +0100
commit29a4871ab80a67a1a7245d969fecf5e08d8ee7e0 (patch)
treec51e8e0116dbd30029b4af362e7fcca943b57117 /src/log.h
parenta2023bf5f899ca968d28be706ff040b95e3c19f7 (diff)
downloadbluez-29a4871ab80a67a1a7245d969fecf5e08d8ee7e0.tar.gz
core: Add function for logging with priority information
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index f40fb31e9..0d243ceca 100644
--- a/src/log.h
+++ b/src/log.h
@@ -27,6 +27,9 @@ void error(const char *format, ...) __attribute__((format(printf, 1, 2)));
void warn(const char *format, ...) __attribute__((format(printf, 1, 2)));
void info(const char *format, ...) __attribute__((format(printf, 1, 2)));
+void btd_log(uint16_t index, int priority, const char *format, ...)
+ __attribute__((format(printf, 3, 4)));
+
void btd_error(uint16_t index, const char *format, ...)
__attribute__((format(printf, 2, 3)));
void btd_warn(uint16_t index, const char *format, ...)