com.aragost.javahg.log
Class LoggerFactory
java.lang.Object
com.aragost.javahg.log.LoggerFactory
- Direct Known Subclasses:
- JULLoggerFactory
public abstract class LoggerFactory
- extends Object
Factory class to retrieve a Logger
instance. The LoggerFactory
searches a implementation with the use of ServiceLoader
, if no
implementation could be found it uses the default implementation
JULLoggerFactory
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerFactory
public LoggerFactory()
getLogger
public static Logger getLogger(Class<?> cls)
- Return a logger for the class
- Parameters:
cls
-
- Returns:
getLoggerInstance
protected abstract Logger getLoggerInstance(Class<?> cls)
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.