Top Description Fields Constructors Methods
ch.qos.logback.classic.turbo

public Class MarkerFilter

extends MatchingFilter
Class Inheritance
Imports
org.slf4j.Marker, .MarkerFactory, ch.qos.logback.classic.Level, .Logger, ch.qos.logback.core.spi.FilterReply

Checks whether the marker in the event matches the marker specified by the user.

Field Summary

Modifier and TypeField and Description
pack-priv Marker
Inherited from ch.qos.logback.classic.turbo.MatchingFilter:
onMatchonMismatch

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public FilterReply
decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t)

Implements abstract ch.qos.logback.classic.turbo.TurboFilter.decide.

Make a decision based on the multiple parameters passed as arguments.
public void
setMarker(String markerStr)

The marker to match in the event.

public void
Inherited from ch.qos.logback.classic.turbo.MatchingFilter:
setOnMatchsetOnMismatch

Field Detail

markerToMatchback to summary
pack-priv Marker markerToMatch

Constructor Detail

MarkerFilterback to summary
public MarkerFilter()

Method Detail

decideback to summary
public FilterReply decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t)

Implements abstract ch.qos.logback.classic.turbo.TurboFilter.decide.

Doc from ch.qos.logback.classic.turbo.TurboFilter.decide.

Make a decision based on the multiple parameters passed as arguments. The returned value should be one of FilterReply#DENY, FilterReply#NEUTRAL, or FilterReply#ACCEPT.

Annotations
@Override
setMarkerback to summary
public void setMarker(String markerStr)

The marker to match in the event.

startback to summary
public void start()

Overrides ch.qos.logback.classic.turbo.TurboFilter.start.

Implements ch.qos.logback.core.spi.LifeCycle.start.

Annotations
@Override