Slice Tools
  • Home
  • SourceForge Page


  • libFoundation
  • Home
  • Class Hierarchy
  • Class List
  • Class Members
  • Examples


  • SourceForge.net Logo
     

    example-logging-2.log

    Sample log from example-logging.

    In this example, all categories are disabled by default, but category 'A' is enabled and its filter level is set to 3 (MESSAGE_LEVEL_DEBUG_WARNING).
    More categories could have been enabled by adding them to the command line option filterlevel.

    The syntax is fl[,CATEGORY=fl[...]] where:
    fl is the filterlevel to set (0 disables the category)
    CATEGORY is the name of the category
    [...] means that as many categories can be set as desired
    20050729|114341|31670|MAIN|INFO|0: START: ../../../src/libFoundation/examples/example-logging --debug 0,A=3 --logfile ../../../src/libFoundation/examples/example-logging-2.log
    20050729|114341|31670|MAIN|INFO|1: Username: mschatz
    20050729|114341|31670|MAIN|INFO|2: Hostname: bayberry.umiacs.umd.edu
    20050729|114341|31670|MAIN|INFO|3: FINISH: example-logging, elapsed 000-00:00:00