com.cisco.oss.foundation.logging.structured
Class AbstractFoundationLoggingMarker
java.lang.Object
com.cisco.oss.foundation.logging.structured.AbstractFoundationLoggingMarker
- All Implemented Interfaces:
- FoundationLoggingMarker, Serializable, org.slf4j.Marker
public abstract class AbstractFoundationLoggingMarker
- extends Object
- implements FoundationLoggingMarker
- See Also:
- Serialized Form
| Fields inherited from interface org.slf4j.Marker |
ANY_MARKER, ANY_NON_NULL_MARKER |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.slf4j.Marker |
equals, hashCode |
userFields
protected Map<String,Object> userFields
markersXmlMap
public static HashMap<String,org.jdom2.Element> markersXmlMap
AbstractFoundationLoggingMarker
public AbstractFoundationLoggingMarker()
init
public static void init()
getName
public String getName()
- Specified by:
getName in interface FoundationLoggingMarker- Specified by:
getName in interface org.slf4j.Marker
add
public void add(org.slf4j.Marker reference)
- Specified by:
add in interface org.slf4j.Marker
remove
public boolean remove(org.slf4j.Marker reference)
- Specified by:
remove in interface org.slf4j.Marker
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren in interface org.slf4j.Marker
hasReferences
public boolean hasReferences()
- Specified by:
hasReferences in interface org.slf4j.Marker
iterator
public Iterator iterator()
- Specified by:
iterator in interface org.slf4j.Marker
contains
public boolean contains(org.slf4j.Marker other)
- Specified by:
contains in interface org.slf4j.Marker
contains
public boolean contains(String name)
- Specified by:
contains in interface org.slf4j.Marker
valueOf
public String valueOf(String userFieldName)
- Specified by:
valueOf in interface FoundationLoggingMarker
populateUserFieldMap
protected void populateUserFieldMap()
getFormatter
public FoundationLoggingMarkerFormatter getFormatter()
- Specified by:
getFormatter in interface FoundationLoggingMarker
setFormatter
public void setFormatter(FoundationLoggingMarkerFormatter formatter)
scanClassPathForFormattingAnnotations
public static void scanClassPathForFormattingAnnotations()
- Scan all the class path and look for all classes that have the Format
Annotations.
Copyright © 2014 Cisco. All Rights Reserved.