public final class LogbackTools extends Object
Modifier | Constructor and Description |
---|---|
private |
LogbackTools() |
Modifier and Type | Method and Description |
---|---|
static void |
enableIJLogging(boolean debug,
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender) |
static boolean |
enableLogging(String level)
Attempts to enable SLF4J logging via logback
without an external configuration file.
|
public static boolean enableLogging(String level)
level
- A string indicating the desired level
(i.e.: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN).public static void enableIJLogging(boolean debug, ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender)
Copyright © 2015 Open Microscopy Environment