public class AbstractLevelsFilter
extends ch.qos.logback.core.filter.AbstractMatcherFilter<ch.qos.logback.classic.spi.LoggingEvent>
stdout
or
stderr
).
This implementation is distinct from logback-classic's built-in
ch.qos.logback.classic.filter.LevelFilter
, because that filter only
accepts one level at a time, whereas this implementation accepts a list of
levels.
Thanks to Uriah Carpenter for his answer on StackOverflow.
Constructor and Description |
---|
AbstractLevelsFilter(ch.qos.logback.classic.Level... levels) |
Modifier and Type | Method and Description |
---|---|
ch.qos.logback.core.spi.FilterReply |
decide(ch.qos.logback.classic.spi.LoggingEvent event) |
getOnMatch, getOnMismatch, setOnMatch, setOnMismatch
getName, isStarted, setName, start, stop
Copyright © 2015–2022 SciJava. All rights reserved.