public class LoggerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Boolean |
hasToLog |
static java.lang.Class |
loggerClass |
static java.lang.reflect.Method |
method |
static Logger |
NO_LOGGER |
Constructor and Description |
---|
LoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(java.lang.Class<?> clazz)
Initialize logger.
|
static void |
init(boolean mustLog)
Initialize factory.
|
public static final Logger NO_LOGGER
public static java.lang.Boolean hasToLog
public static java.lang.Class loggerClass
public static java.lang.reflect.Method method
public static void init(boolean mustLog)
mustLog
- indicate if must initiate Slf4j logpublic static Logger getLogger(java.lang.Class<?> clazz)
clazz
- initiator class