Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

abeans::pluggable::acs::logging::ConsoleLoggingFormatter Class Reference

List of all members.

Public Member Functions

String format (LogRecord record)
String toString ()

Static Public Member Functions

String createShortReport (LogRecord entry)

Static Private Attributes

SimpleDateFormat timeFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS")
Date date = new Date()

Detailed Description

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

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@


Member Function Documentation

String abeans::pluggable::acs::logging::ConsoleLoggingFormatter::createShortReport LogRecord  entry  )  [inline, static]
 

Formats the log record. This method is declared static so that it may be used by other classes, for instance MessageLogEntry.toString().

Parameters:
entry the entry to format
Returns:
entry formatted to a string

String abeans::pluggable::acs::logging::ConsoleLoggingFormatter::format LogRecord  record  )  [inline]
 

Formats the log record according to the rules outlined in this class' javadoc.

Parameters:
record the log record to format, may be of MessageLogEntry type to provide additional information, non-null
Returns:
the log record formatted as a string

String abeans::pluggable::acs::logging::ConsoleLoggingFormatter::toString  )  [inline]
 

Returns a short summary about this instance.

Returns:
internal state of this


Member Data Documentation

Date abeans::pluggable::acs::logging::ConsoleLoggingFormatter::date = new Date() [static, private]
 

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

SimpleDateFormat abeans::pluggable::acs::logging::ConsoleLoggingFormatter::timeFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS") [static, private]
 

ISO 8601 date formatter.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:43:22 2009 for ACS Java API by doxygen 1.3.8