SOAj Core v. 1.3


info.soaj.core.internal
Class SjLoggingFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by info.soaj.core.internal.SjLoggingFormatter

public class SjLoggingFormatter
extends java.util.logging.Formatter

This class contains static methods for formatting logging.

Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .

Since:
v. 1.0
Author:
MarvinToll@gtcGroup.com

Constructor Summary
SjLoggingFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord logRecord)
          Formats the given log record and returns the formatted String.
protected  SjNullableUserId initializeUserId()
          This method should be overridden to provide the authorized user id.
 
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
 

Constructor Detail

SjLoggingFormatter

public SjLoggingFormatter()
Method Detail

format

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

Specified by:
format in class java.util.logging.Formatter
Parameters:
logRecord - LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.
Returns:
String - A formatted message.

initializeUserId

protected SjNullableUserId initializeUserId()
This method should be overridden to provide the authorized user id.

Returns:
SjNullableUserId

SOAj Core v. 1.3


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