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.


Constructor Summary
JdkLoggerFactory()
           
 
Method Summary
 ILogger createLogger(String pName)
          Gets an ILogger.
protected  void handleException(Exception pException)
          Handle an internal exception.
 void init()
          Initializes the factory instance.
protected  boolean isInitialized()
          Returns whether the log manager is initialized through a property file.
 
Methods inherited from class com.sibvisions.util.log.LoggerFactory
getInstance, getInstance, getLevel, getLevel, getLogger, init, 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(String pName)
Gets 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

handleException

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

Parameters:
pException - the occured exception

isInitialized

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

Returns:
true if the logging.properties was used to init the log manager


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.