com.sibvisions.util.log.jdk
Class JdkLoggerFactory

java.lang.Object
  extended by com.sibvisions.util.log.LoggerFactory
      extended by com.sibvisions.util.log.jdk.JdkLoggerFactory

public class JdkLoggerFactory
extends LoggerFactory

The JdkLoggerFactory is the LoggerFactory implementation for the java logging API.


Field Summary
 
Fields inherited from class com.sibvisions.util.log.LoggerFactory
LOGFACTORY_DEFAULT
 
Constructor Summary
JdkLoggerFactory()
           
 
Method Summary
 ILogger createLogger(java.lang.String pName)
          Creates an ILogger.
protected  void handleException(java.lang.Exception pException)
          Handle an internal exception.
 void init()
          Initializes the factory instance.
protected  boolean isInitDone()
          Returns whether the log manager is initialized through a property file.
 
Methods inherited from class com.sibvisions.util.log.LoggerFactory
destroy, getInstance, getInstance, getLevel, getLevel, getLogger, init, isInitialized, setLevel, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdkLoggerFactory

public JdkLoggerFactory()
Method Detail

createLogger

public ILogger createLogger(java.lang.String pName)
Creates an ILogger.

Specified by:
createLogger in class LoggerFactory
Parameters:
pName - the name for which a logger should be returned/created
Returns:
the ILogger implementation

init

public void init()
Initializes the factory instance.

Specified by:
init in class LoggerFactory

isInitDone

protected boolean isInitDone()
Returns whether the log manager is initialized through a property file.

Overrides:
isInitDone in class LoggerFactory
Returns:
true if the logging.properties was used to init the log manager

handleException

protected void handleException(java.lang.Exception pException)
Handle an internal exception.

Parameters:
pException - the occured exception


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.