public enum Slf4jChannel extends Enum<Slf4jChannel>
| Enum Constant and Description |
|---|
DEBUG |
ERROR |
FATAL |
INFO |
TRACE |
WARN |
| Modifier and Type | Method and Description |
|---|---|
net.dzikoysk.dynamiclogger.Channel |
getChannel() |
org.slf4j.event.Level |
getLevel() |
static Slf4jChannel |
of(net.dzikoysk.dynamiclogger.Channel channel) |
static Slf4jChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Slf4jChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Slf4jChannel FATAL
public static final Slf4jChannel ERROR
public static final Slf4jChannel WARN
public static final Slf4jChannel INFO
public static final Slf4jChannel DEBUG
public static final Slf4jChannel TRACE
public static Slf4jChannel[] values()
for (Slf4jChannel c : Slf4jChannel.values()) System.out.println(c);
public static Slf4jChannel 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 nullpublic org.slf4j.event.Level getLevel()
public net.dzikoysk.dynamiclogger.Channel getChannel()
public static Slf4jChannel of(net.dzikoysk.dynamiclogger.Channel channel)
Copyright © 2021. All rights reserved.