com.levigo.util.log
Class LoggerFactory
java.lang.Object
com.levigo.util.log.LoggerFactory
public final class LoggerFactory
- extends Object
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(String name)
- Return a logger named according to the name parameter using the statically bound
ILoggerFactory
instance.
- Parameters:
name
- The name of the logger.
- Returns:
- logger
getLogger
public static Logger getLogger(Class<?> clazz)
- Return a logger named corresponding to the class passed as parameter, using the statically
bound
ILoggerFactory
instance.
- Parameters:
clazz
- the returned logger will be named after clazz
- Returns:
- logger
getRootLogger
public static Logger getRootLogger()
getQualifiedLogger
public static QualifiedLogger getQualifiedLogger(Class<?> clazz)
getQualifiedLogger
public static QualifiedLogger getQualifiedLogger(String name)
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.