fr.cnes.sitools.logging
Class LogAccessFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by fr.cnes.sitools.logging.LogAccessFormatter

public class LogAccessFormatter
extends java.util.logging.Formatter

This class defines a new log format.

Author:
Jean-Christophe Malapert, CNES Copyright (C) 2010.

Constructor Summary
LogAccessFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          Define the log format
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAccessFormatter

public LogAccessFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Define the log format

Specified by:
format in class java.util.logging.Formatter
Parameters:
record - Format
Returns:
Returns a format such as Date - record


Copyright © 2010-2013 CNES. All Rights Reserved.