mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
add newline to log_ output
This commit is contained in:
parent
ba6f889f4f
commit
1c07209a6d
@ -49,7 +49,7 @@
|
||||
#ifdef HAVE_HCI_DUMP
|
||||
#define log_debug(format, ...) hci_dump_log(format, ## __VA_ARGS__)
|
||||
#else
|
||||
#define log_debug(format, ...) printf(format, ## __VA_ARGS__)
|
||||
#define log_debug(format, ...) printf(format "\n", ## __VA_ARGS__)
|
||||
#endif
|
||||
#else
|
||||
#define log_debug(...)
|
||||
@ -59,7 +59,7 @@
|
||||
#ifdef HAVE_HCI_DUMP
|
||||
#define log_info(format, ...) hci_dump_log(format, ## __VA_ARGS__)
|
||||
#else
|
||||
#define log_info(format, ...) printf(format, ## __VA_ARGS__)
|
||||
#define log_info(format, ...) printf(format "\n", ## __VA_ARGS__)
|
||||
#endif
|
||||
#else
|
||||
#define log_info(...)
|
||||
@ -69,7 +69,7 @@
|
||||
#ifdef HAVE_HCI_DUMP
|
||||
#define log_error(format, ...) hci_dump_log(format, ## __VA_ARGS__)
|
||||
#else
|
||||
#define log_error(format, ...) printf(format, ## __VA_ARGS__)
|
||||
#define log_error(format, ...) printf(format "\n", ## __VA_ARGS__)
|
||||
#endif
|
||||
#else
|
||||
#define log_error(...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user