Java logging framework: Difference between revisions

Content deleted Content added
Line 41:
The logging framework maintains the current logging level for each logger. The logging level can be set more or less restrictive. For example, if the logging level is set to "WARNING", then all messages of that level or higher are logged, ERROR and FATAL.
===Formatters or Renderers===
A Formatter is an object that formats a given object for logging by the Appender. Mostly this consists of takeingtaking the object and converting it to a string representation.
 
===Appenders or Handlers===
The appenders are configured to listen for messages of a certain log level or above. The Appender takes the message it is passed and disposes of the messages. Some message dispositions include: