public static enum LogUtils.Level extends Enum<LogUtils.Level>
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
isEnabled(org.slf4j.Logger logger) |
void |
log(org.slf4j.Logger logger,
String message) |
void |
log(org.slf4j.Logger logger,
Supplier<String> messageSupplier) |
static LogUtils.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogUtils.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogUtils.Level OFF
public static final LogUtils.Level TRACE
public static final LogUtils.Level DEBUG
public static final LogUtils.Level INFO
public static final LogUtils.Level WARN
public static final LogUtils.Level ERROR
public static LogUtils.Level[] values()
for (LogUtils.Level c : LogUtils.Level.values()) System.out.println(c);
public static LogUtils.Level valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected abstract boolean isEnabled(org.slf4j.Logger logger)
public final void log(org.slf4j.Logger logger,
String message)
Copyright © 2019. All rights reserved.