Forward Computing and Control Pty. Ltd.
Logging Package V1.3.0

2004/11/22

au.com.forward.logging
Class LoggingSimpleFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by au.com.forward.logging.RobustFormatter
          extended by au.com.forward.logging.LoggingSimpleFormatter

public class LoggingSimpleFormatter
extends RobustFormatter

This class provides a robust simple formatter.

Author:
Matthew Ford

Constructor Summary
LoggingSimpleFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          Format the given LogRecord.
protected  java.lang.String newLineString()
          Returns the newLine setting for this class
Use system newLine setting.
 
Methods inherited from class au.com.forward.logging.RobustFormatter
formatMessage, toString
 
Methods inherited from class java.util.logging.Formatter
getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingSimpleFormatter

public LoggingSimpleFormatter()
Method Detail

newLineString

protected java.lang.String newLineString()
Returns the newLine setting for this class
Use system newLine setting.

Specified by:
newLineString in class RobustFormatter
Returns:
the string to use for new lines.

format

public java.lang.String format(java.util.logging.LogRecord record)
Format the given LogRecord. Don't allow any errors to be thrown here

Specified by:
format in class java.util.logging.Formatter
Parameters:
record - the log record to be formatted.
Returns:
a formatted log record

Forward Computing and Control Pty. Ltd.
Logging Package V1.3.0

2004/11/22

Copyright ©2003, Forward Computing and Control Pty. Ltd
ACN 003 669 994   NSW Australia,   All Rights Reserved.
email:fcc@forward.com.au