public class LoggerFactory extends Object
LoggerFactory is essentially a wrapper around an
ILoggerFactory instance bound with LoggerFactory at
compile time.
Please note that all methods in LoggerFactory are static.| 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
ILoggerFactory instance. |
static Logger |
getLogger(String name)
Return a logger named according to the name parameter using the statically
bound
ILoggerFactory instance. |
public static Logger getLogger(String name)
ILoggerFactory instance.name - The name of the logger.public static Logger getLogger(Class clazz)
ILoggerFactory instance.clazz - the returned logger will be named after clazzCopyright © 2020. All rights reserved.