Changes between Initial Version and Version 1 of DsxLogging


Ignore:
Timestamp:
Aug 21, 2006, 7:19:07 PM (18 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxLogging

    v1 v1  
     1= Logs in Dsx =
     2
     3== Log levels ==
     4
     5Log levels may be in:
     6 * NONE
     7 * TRACE
     8 * DEBUG
     9 * MAX
     10
     11When using a log function (see below), you must specify message type.
     12
     13There is a current log level defined statically for [wiki:MuteksOptions#Stackusagetracing MutekS] or dynamically for [wiki:Posix#Logs Posix].
     14Only messages having at least current level will be printed.
     15
     16 * If current level is NONE, messages with level NONE will be printed.
     17 * If current level is TRACE, messages with levels TRACE and NONE will be printed
     18 * If current level is DEBUG, messages with levels DEBUG, TRACE and NONE will be printed
     19 * ...
     20
     21== Log functions ==
     22
     23There are two log functions:
     24
     25{{{
     26dsx_log( ''level'', ''message'' )
     27}}}
     28 * level is in defined leg levels
     29 * message is a fixed string
     30
     31{{{
     32dsx_log_printf( ''level'', ''fmt'', ... )
     33}}}
     34 * level is in defined leg levels
     35 * message is a printf-like format string
     36 * following arguments are arguments to format string