GigaSpaces XAP 10.0.1 API

com.gigaspaces.logger
Class GSSimpleFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by com.gigaspaces.logger.GSSimpleFormatter

public class GSSimpleFormatter
extends Formatter

Print a brief summary of the LogRecord in a human readable messageFormat. This class is a variation of SimpleFormatter, that was customized for GigaSpaces purposes.

Version:
5.1
Author:
Alex Beresnev

Constructor Summary
GSSimpleFormatter()
           
GSSimpleFormatter(String pattern)
           
 
Method Summary
 String format(LogRecord record)
          Format the given LogRecord.
 
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

GSSimpleFormatter

public GSSimpleFormatter()

GSSimpleFormatter

public GSSimpleFormatter(String pattern)
Method Detail

format

public String format(LogRecord record)
Format the given LogRecord.

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.