usb: logs: Rename USB_DBG to LOG_DBG
Since logger is now suitable for our logs use it directly. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
c579414263
commit
92c7ab74c0
20 changed files with 330 additions and 337 deletions
|
@ -44,13 +44,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_LOG_FUNCTION_NAME)
|
||||
#define USB_DBG(fmt, ...) LOG_DBG("(%p): " fmt, k_current_get(), \
|
||||
##__VA_ARGS__)
|
||||
#else
|
||||
#define USB_DBG(fmt, ...) LOG_DBG("(%p): %s: " fmt, k_current_get(), \
|
||||
__func__, ##__VA_ARGS__)
|
||||
#endif /* CONFIG_LOG_FUNCTION_NAME */
|
||||
#define USB_ERR(fmt, ...) LOG_ERR(fmt, ##__VA_ARGS__)
|
||||
#define USB_WRN(fmt, ...) LOG_WRN(fmt, ##__VA_ARGS__)
|
||||
#define USB_INF(fmt, ...) LOG_INF(fmt, ##__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue