public class Log4jMarkerFactory extends Object implements org.slf4j.IMarkerFactory
| Constructor and Description |
|---|
Log4jMarkerFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
detachMarker(String name)
Log4j does not support detached Markers.
|
boolean |
exists(String name)
Returns true if the Marker exists.
|
org.slf4j.Marker |
getDetachedMarker(String name)
Log4j does not support detached Markers for performance reasons.
|
org.slf4j.Marker |
getMarker(String name)
Return a Log4j Marker that is compatible with SLF4J.
|
public org.slf4j.Marker getMarker(String name)
getMarker in interface org.slf4j.IMarkerFactoryname - The name of the Marker.public boolean exists(String name)
exists in interface org.slf4j.IMarkerFactoryname - The Marker name.public boolean detachMarker(String name)
detachMarker in interface org.slf4j.IMarkerFactoryname - The Marker name.public org.slf4j.Marker getDetachedMarker(String name)
getDetachedMarker in interface org.slf4j.IMarkerFactoryname - The Marker name.Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.