com.levigo.util.log
Class LoggerFactory

java.lang.Object
  extended by com.levigo.util.log.LoggerFactory

public final class LoggerFactory
extends Object


Constructor Summary
LoggerFactory()
           
 
Method Summary
static Logger getLogger(Class<?> clazz)
          Return a logger named corresponding to the class passed as parameter, using the statically bound ILoggerFactory instance.
static Logger getLogger(String name)
          Return a logger named according to the name parameter using the statically bound ILoggerFactory instance.
static QualifiedLogger getQualifiedLogger(Class<?> clazz)
           
static QualifiedLogger getQualifiedLogger(String name)
           
static Logger getRootLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerFactory

public LoggerFactory()
Method Detail

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.