Changes between Version 2 and Version 3 of Logging


Ignore:
Timestamp:
2012-08-15T14:58:09Z (12 years ago)
Author:
Jiri Svoboda
Comment:

Default logging level

Legend:

Unmodified
Added
Removed
Modified
  • Logging

    v2 v3  
    2424}}}
    2525
    26 The first argument to `log_init` is application name, the second is the default logging level. Messages with higher level won't be printed at all.
     26The first argument to `log_init` is application name, the second is the default logging level. Messages with higher level won't be printed at all. Normally the (when an application is not being debugged) the logging level should be set to LVL_NOTE. That is, messages with level LVL_NOTE or higher are printed.
    2727
    2828`log_msg` is a `printf`-like function where first argument is level of the message (its seriousness).