diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-11-11 15:08:19 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-11-11 15:08:19 +0100 |
commit | 29a4871ab80a67a1a7245d969fecf5e08d8ee7e0 (patch) | |
tree | c51e8e0116dbd30029b4af362e7fcca943b57117 /src/log.h | |
parent | a2023bf5f899ca968d28be706ff040b95e3c19f7 (diff) | |
download | bluez-29a4871ab80a67a1a7245d969fecf5e08d8ee7e0.tar.gz |
core: Add function for logging with priority information
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, ...) |