public class LoggerConfiguration extends Object
It can be configured with following properties:
OFF, file appender will be disabledOFF, console appender will be disabled
The logging pattern can use %clr() to highlight based on log level, or
%clr(){color} with faint, red, green, yellow, blue, magenta, cyan as color to
style the log message on console output.
| Constructor and Description |
|---|
LoggerConfiguration(Properties config) |
| Modifier and Type | Method and Description |
|---|---|
void |
conversionRule(String word,
Class<? extends ch.qos.logback.core.pattern.Converter<?>> converter) |
void |
install() |
void |
uninstall() |
public LoggerConfiguration(Properties config)