Package org.slf4j

Interface Marker

All Superinterfaces:
Serializable
All Known Implementing Classes:
BasicMarker

public interface Marker extends Serializable
Markers are named objects used to enrich log statements. Conforming logging system implementations of SLF4J should determine how information conveyed by any markers are used, if at all. Many conforming logging systems ignore marker data entirely.

Markers can contain references to nested markers, which in turn may contain references of their own. Note that the fluent API (new in 2.0) allows adding multiple markers to a logging statement. It is often preferable to use multiple markers instead of nested markers.

Author:
Ceki Gülcü