wiki:DebugLog
Last modified 9 years ago Last modified on 08/22/09 19:57:34

ZLog

Using in code

TODO: expand

Setting the runtime debug level

lts@X300 test % IOFWD_LOGLEVEL=debug_more ./iofwdlog 
[20090822T195206.293820/0] (default) test level 0
[20090822T195206.294175/1] (default) test level 1
[20090822T195206.294260/2] (default) test level 2
[20090822T195206.294339/3] (default) test level 3
[20090822T195206.294417/4] (default) test level 4
[20090822T195206.294495/5] (default) test level 5
lts@X300 test % IOFWD_LOGLEVEL=debug_extreme ./iofwdlog 
[20090822T195209.888068/0] (default) test level 0
[20090822T195209.888392/1] (default) test level 1
[20090822T195209.888476/2] (default) test level 2
[20090822T195209.888555/3] (default) test level 3
[20090822T195209.888633/4] (default) test level 4
[20090822T195209.888711/5] (default) test level 5
[20090822T195209.888789/6] (default) test level 6


Available levels: numeric or one of

  • ERROR = 0, cannot be disabled
  • CRITICAL,
  • WARN,
  • INFO,
  • DEBUG,
  • DEBUG_MORE,
  • DEBUG_EXTREME