|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.slf4j.Log4jMarkerFactory
public class Log4jMarkerFactory
Log4j/SLF4J bridge to create SLF4J Markers based on name or based on existing SLF4J Markers.
Constructor Summary | |
---|---|
Log4jMarkerFactory()
|
Method Summary | |
---|---|
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(org.slf4j.Marker marker)
Returns a Log4j Marker converted from an existing custom SLF4J Marker. |
org.slf4j.Marker |
getMarker(String name)
Returns a Log4j Marker that is compatible with SLF4J. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4jMarkerFactory()
Method Detail |
---|
public org.slf4j.Marker getMarker(String name)
getMarker
in interface org.slf4j.IMarkerFactory
name
- The name of the Marker.
public org.slf4j.Marker getMarker(org.slf4j.Marker marker)
marker
- The SLF4J Marker to convert.
public boolean exists(String name)
exists
in interface org.slf4j.IMarkerFactory
name
- The Marker name.
true
if the Marker exists, false
otherwise.public boolean detachMarker(String name)
detachMarker
in interface org.slf4j.IMarkerFactory
name
- The Marker name.
false
public org.slf4j.Marker getDetachedMarker(String name)
getDetachedMarker
in interface org.slf4j.IMarkerFactory
name
- The Marker name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.