org.apache.logging.slf4j

Class Log4jMarker

  • All Implemented Interfaces:
    Serializable, org.slf4j.Marker


    public class Log4jMarker
    extends Object
    implements org.slf4j.Marker
    Log4j/SLF4J Marker type bridge.
    See Also:
    Serialized Form
    • Constructor Detail

      • Log4jMarker

        public Log4jMarker(Marker marker)
        Constructs a Log4jMarker using an existing Log4j Marker.
        Parameters:
        marker - The Log4j Marker upon which to base this Marker.
    • Method Detail

      • add

        public void add(org.slf4j.Marker marker)
        Specified by:
        add in interface org.slf4j.Marker
      • contains

        public boolean contains(org.slf4j.Marker marker)
        Specified by:
        contains in interface org.slf4j.Marker
      • contains

        public boolean contains(String s)
        Specified by:
        contains in interface org.slf4j.Marker
      • equals

        public boolean equals(Object obj)
        Specified by:
        equals in interface org.slf4j.Marker
        Overrides:
        equals in class Object
      • getLog4jMarker

        public Marker getLog4jMarker()
      • getName

        public String getName()
        Specified by:
        getName in interface org.slf4j.Marker
      • hasChildren

        public boolean hasChildren()
        Specified by:
        hasChildren in interface org.slf4j.Marker
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.slf4j.Marker
        Overrides:
        hashCode in class Object
      • hasReferences

        public boolean hasReferences()
        Specified by:
        hasReferences in interface org.slf4j.Marker
      • iterator

        public Iterator<org.slf4j.Marker> iterator()
        Specified by:
        iterator in interface org.slf4j.Marker
      • remove

        public boolean remove(org.slf4j.Marker marker)
        Specified by:
        remove in interface org.slf4j.Marker

Copyright © 1999-2017 The 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.