org.jecars
Class CARS_LogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.jecars.CARS_LogHandler

public class CARS_LogHandler
extends java.util.logging.Handler

CARS_LogHandler

Version:
$Id: CARS_LogHandler.java,v 1.1 2007/09/26 14:20:16 weertj Exp $

Constructor Summary
CARS_LogHandler()
          Creates a new instance of CARS_LogHandler
 
Method Summary
 void close()
           
static java.util.logging.LogRecord createLogRecord(javax.jcr.Node pUser, javax.jcr.Node pSourceNode, java.util.logging.Level pLevel, java.lang.String pCategory, java.lang.String pType, java.lang.String pMessage, java.lang.Throwable pThrow)
           
 void flush()
           
 void publish(java.util.logging.LogRecord pRecord)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CARS_LogHandler

public CARS_LogHandler()
Creates a new instance of CARS_LogHandler

Method Detail

createLogRecord

public static java.util.logging.LogRecord createLogRecord(javax.jcr.Node pUser,
                                                          javax.jcr.Node pSourceNode,
                                                          java.util.logging.Level pLevel,
                                                          java.lang.String pCategory,
                                                          java.lang.String pType,
                                                          java.lang.String pMessage,
                                                          java.lang.Throwable pThrow)

publish

public void publish(java.util.logging.LogRecord pRecord)
Specified by:
publish in class java.util.logging.Handler

flush

public void flush()
Specified by:
flush in class java.util.logging.Handler

close

public void close()
           throws java.lang.SecurityException
Specified by:
close in class java.util.logging.Handler
Throws:
java.lang.SecurityException