Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f64e81a in mainline for uspace/lib/usb/include/usb/debug.h


Ignore:
Timestamp:
2011-05-13T18:26:52Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial
Children:
2720b51a
Parents:
11e00c8
Message:

Default log level configurable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/debug.h

    r11e00c8 rf64e81a  
    8181
    8282/** Default log level. */
    83 #define USB_LOG_LEVEL_DEFAULT USB_LOG_LEVEL_DEBUG
    84 
     83#ifdef CONFIG_USB_RELEASE_BUILD
     84#  define USB_LOG_LEVEL_DEFAULT USB_LOG_LEVEL_INFO
     85#else
     86#  define USB_LOG_LEVEL_DEFAULT USB_LOG_LEVEL_DEBUG
     87#endif
    8588
    8689void usb_log_enable(usb_log_level_t, const char *);
Note: See TracChangeset for help on using the changeset viewer.