public class LoggerUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoggerUtils.ExceptionLogger |
| Constructor and Description |
|---|
LoggerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.slf4j.Logger |
getLogger(Class<?> clazz) |
static org.slf4j.Logger |
getLogger(Object name) |
static boolean |
isEnabled() |
static void |
logHandledException(org.slf4j.Logger logger,
Exception e) |
static void |
setEnabled(boolean enabled) |
static void |
setExceptionLogger(LoggerUtils.ExceptionLogger exceptionLogger) |
public static org.slf4j.Logger getLogger(Object name)
public static org.slf4j.Logger getLogger(Class<?> clazz)
public static void setEnabled(boolean enabled)
public static boolean isEnabled()
public static void logHandledException(org.slf4j.Logger logger,
Exception e)
public static void setExceptionLogger(LoggerUtils.ExceptionLogger exceptionLogger)
Copyright © 2014. All rights reserved.