ELevel

As in many other logging systems, there are LOG levels. The following LOG levels are specified:

  • TRACE
  • DEBUG
  • INFO
  • WARN
  • ERROR
  • OFF

As always, setting a log level allows all LOG messages to be output at the same and lower LOG levels. Example: If the LOG level is set to INFO, all outputs with the levels INFO, WARN and ERROR are allowed. An exception is the OFF level: here all outputs are suppressed.

There is one LOG level per LOG writer and one per logger. The level of the writer is more important than that of the logger. Example: Although the level of a logger has been set to DEBUG, the output is suppressed if the level of the writer has been set to INFO.