Changeset f64e81a in mainline


Ignore:
Timestamp:
2011-05-13T18:26:52Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2720b51a
Parents:
11e00c8
Message:

Default log level configurable

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r11e00c8 rf64e81a  
    555555! [CONFIG_STRIP_BINARIES!=y] CONFIG_LINE_DEBUG (n/y)
    556556
     557# USB settings
     558
     559% USB release build (less logging)
     560! CONFIG_USB_RELEASE_BUILD (n/y)
     561
    557562% Start virtual USB host controller
    558563! CONFIG_RUN_VIRTUAL_USB_HC (n/y)
  • 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.