# Package de.esprit.common.log

All these classes contribute to a flexible logging system, which is basically reuseable in any project.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  LogFileChangeEvent.Listener |
  LogFileChangeEvent.Source |
  LogLevelEvent.Listener |
  LogLevelEvent.Source |
  LogMessageEvent.Listener |
  LogMessageEvent.Source |
  LogSupport | This interface defines common logging methods
  SimpleLogSupport | This interface defines common logging methods.

- Class Summary
  Class | Description
  --- | ---
  AbstractLogPrinter | This class is a default implementation of a `LogPrinter`.
  DefaultLogFormatter | This class prints the given `LogMessageEvent` in a single line according to the settings of the formatting flags.
  LogChannel | A `LogChannel` represents a named channel where you can print out log messages (errors, infos, warnings, etc).
  LogFileChangeEvent | This event is fired by a `LogPrinterFile` when the logFile changes.
  LogFileFilter | This class performs a case insensitive check on the prefix of log-files.
  LogFormatter | This class formats the given `LogMessageEvent` according to the settings of the formatting flags.
  LogLevelEvent | This event is fired by a `LogChannel` when the `LogLevel` changes.
  LogMessageEvent | This is a carrier for log messages that are being distributed via the java event mechanism.
  LogSupportAdapter | This class provides basic log support
  NdfLogFormatter<C extends ApplicationContext> | This class prints the given `LogMessageEvent` in a single line according to the settings of the formatting flags.
  SimpleLogSupportAdapter | This adapter provides support for logging to a particular LogChannel.

- Enum Summary
  Enum | Description
  --- | ---
  LogLevel | This class represents a LogLevel constant.

## Package de.esprit.common.log Description

All these classes contribute to a flexible logging system, which is basically reuseable in any project. The purpose of this system is to provide a flexible mechanism for logging messages of an application either to the system-console or to a file or to a tracing-window or just to all of them at the same time.

Plesase refer to the LogDemo class to see how to use the system. It shows a realistic working example.

Copyright © 2014 EsprIT-Systems. All Rights Reserved.