alma::acs::logging::formatters::ConsoleLogFormatter Class Reference

Inheritance diagram for alma::acs::logging::formatters::ConsoleLogFormatter:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::formatters::ConsoleLogFormatter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String format (LogRecord record)

Private Attributes

final Date date = new Date()

Static Private Attributes

static final String lineSeparator = System.getProperty("line.separator")

Detailed Description

An implementation of java.util.logging.Formatter. Produces single line log reports meant to go to the console.

Author:
Matej Sekoranja (matej.sekoranjaATcosylab.com)

Member Function Documentation

String alma::acs::logging::formatters::ConsoleLogFormatter::format ( LogRecord  record  )  [inline]

Format the given LogRecord.

Parameters:
record the log record to be formatted.
Returns:
a formatted log record

References date, alma::acs::logging::LogParameterUtil::getNonSpecialPropertiesMapParameters(), and lineSeparator.


Member Data Documentation

Date object (used not to recreate it every time).

Referenced by format().

final String alma::acs::logging::formatters::ConsoleLogFormatter::lineSeparator = System.getProperty("line.separator") [static, private]

Line separator string.

Referenced by format().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2