| Package | Description |
|---|---|
| org.echocat.jomon.runtime.io | |
| org.echocat.jomon.runtime.logging |
| Constructor and Description |
|---|
Redirection.LoggerBasedSupport(org.slf4j.Logger logger,
LogLevel logLevel) |
Redirection.Out.LoggerBasedSupport(org.slf4j.Logger logger,
LogLevel logLevel) |
| Modifier and Type | Class and Description |
|---|---|
static class |
LogLevel.Impl |
| Modifier and Type | Field and Description |
|---|---|
static LogLevel |
LogLevel.debug |
static LogLevel |
LogLevel.error |
static LogLevel |
LogLevel.fatal |
static LogLevel |
LogLevel.info |
static LogLevel |
LogLevel.trace |
static LogLevel |
LogLevel.warning |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<LogLevel> |
LogLevel.defaults |
| Modifier and Type | Method and Description |
|---|---|
protected static LogLevel |
Slf4jUtils.normalize(LogLevel level) |
| Modifier and Type | Method and Description |
|---|---|
int |
LogLevel.Impl.compareTo(LogLevel that) |
protected static int |
Slf4jUtils.differenceOf(LogLevel a,
LogLevel b) |
static boolean |
Slf4jUtils.isEnabled(org.slf4j.Logger logger,
LogLevel level)
Is the logger instance enabled for the given
level? |
static boolean |
Slf4jUtils.isEnabled(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker)
Similar to
Slf4jUtils.isEnabled(org.slf4j.Logger, org.echocat.jomon.runtime.logging.LogLevel) method except that the marker data is also taken into account. |
static void |
Slf4jUtils.log(org.slf4j.spi.LocationAwareLogger logger,
LogLevel level,
java.lang.String fqcn,
org.slf4j.Marker marker,
java.lang.String message,
java.lang.Object[] argArray,
java.lang.Throwable t) |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker,
java.lang.String msg)
Log a message with the specific Marker at the given
level. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker,
java.lang.String format,
java.lang.Object... arguments)
This method is similar to
Slf4jUtils.log(Logger, LogLevel, String, Object...) method except that the marker data is also taken into consideration. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker,
java.lang.String format,
java.lang.Object arg)
This method is similar to
Slf4jUtils.log(Logger, LogLevel, String, Object) method except that the marker data is also taken into consideration. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
This method is similar to
Slf4jUtils.log(Logger, LogLevel, String, Object, Object) method except that the marker data is also taken into consideration. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
org.slf4j.Marker marker,
java.lang.String msg,
java.lang.Throwable t)
This method is similar to
Slf4jUtils.log(Logger, LogLevel, String, Throwable) method except that the marker data is also taken into consideration. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
java.lang.String msg)
Log a message at the given
level. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
java.lang.String format,
java.lang.Object... arguments)
Log a message at the given
level according to the specified format and arguments. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
java.lang.String format,
java.lang.Object arg)
Log a message at the given
level according to the specified format and argument. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Log a message at the given
level according to the specified format and arguments. |
static void |
Slf4jUtils.log(org.slf4j.Logger logger,
LogLevel level,
java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the given
level with an accompanying message. |
protected static LogLevel |
Slf4jUtils.normalize(LogLevel level) |
Copyright © 2013 echocat. All Rights Reserved.