org.ogf.graap.wsag.wsrf.bootstrap
Class WSAG4JMuseLog4jHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.ogf.graap.wsag.wsrf.bootstrap.WSAG4JMuseLog4jHandler

public class WSAG4JMuseLog4jHandler
extends Handler

MuseLog4jHandler

Author:
Oliver Waeldrich

Constructor Summary
WSAG4JMuseLog4jHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
static org.apache.log4j.Logger getLogger(Class<?> clazz)
          Retrieves the Log4J logger for a given class-
 void publish(LogRecord record)
          
 
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

WSAG4JMuseLog4jHandler

public WSAG4JMuseLog4jHandler()
Method Detail

publish

public void publish(LogRecord record)

Specified by:
publish in class Handler

getLogger

public static org.apache.log4j.Logger getLogger(Class<?> clazz)
Retrieves the Log4J logger for a given class-

Parameters:
clazz - the class for which the logger should be retrieved
Returns:
a Logger instance

flush

public void flush()
Specified by:
flush in class Handler

close

public void close()
Specified by:
close in class Handler


Copyright © 2008-2012. All Rights Reserved.