JSlim  


com.gtcgroup.jslim
Class JSlimFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended bycom.gtcgroup.jslim.JSlimFormatter

public final class JSlimFormatter
extends java.util.logging.Formatter

This custom message Formatter provides support for formatting LogRecords. Typically, each logging Handler has a Formatter which converts a LogRecord to a String.

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private  java.lang.Object[] argsDate
           
private  java.util.Date date
           
private static java.lang.String FORMAT
           
 
Constructor Summary
JSlimFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord logRecord)
          Formats the given log record and returns the formatted String.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

private final java.util.Date date

FORMAT

private static final java.lang.String FORMAT
See Also:
Constant Field Values

argsDate

private final java.lang.Object[] argsDate
Constructor Detail

JSlimFormatter

public JSlimFormatter()
Method Detail

format

public final java.lang.String format(java.util.logging.LogRecord logRecord)
Formats the given log record and returns the formatted String.

Parameters:
logRecord - LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.
Returns:
A formatted String.

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.