public final class LoggerFactory extends Object
Constructor and Description |
---|
LoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(Class<?> clazz)
Return a logger named corresponding to the class passed as parameter, using the statically
bound
LoggerFactoryDelegate instance. |
static Logger |
getLogger(String name)
Return a logger named according to the name parameter using the statically bound
LoggerFactoryDelegate instance. |
static QualifiedLogger |
getQualifiedLogger(Class<?> clazz) |
static QualifiedLogger |
getQualifiedLogger(String name) |
static Logger |
getRootLogger() |
public static Logger getLogger(String name)
LoggerFactoryDelegate
instance.name
- The name of the logger.public static Logger getLogger(Class<?> clazz)
LoggerFactoryDelegate
instance.clazz
- the returned logger will be named after clazzpublic static Logger getRootLogger()
public static QualifiedLogger getQualifiedLogger(Class<?> clazz)
public static QualifiedLogger getQualifiedLogger(String name)
Copyright © 2024 levigo holding gmbh. All rights reserved.