Class Log4j2Marker

java.lang.Object
org.seppiko.glf.log4j2.Log4j2Marker
All Implemented Interfaces:
org.seppiko.glf.api.Marker

public class Log4j2Marker extends Object implements org.seppiko.glf.api.Marker
Log4j 2.x Marker implementation convert
Author:
Leonard Woo
  • Constructor Details

    • Log4j2Marker

      public Log4j2Marker(org.apache.logging.log4j.Marker marker)
  • Method Details

    • getLog4j2Marker

      public org.apache.logging.log4j.Marker getLog4j2Marker()
    • getName

      public String getName()
      Specified by:
      getName in interface org.seppiko.glf.api.Marker
    • add

      public void add(org.seppiko.glf.api.Marker reference)
      Specified by:
      add in interface org.seppiko.glf.api.Marker
    • remove

      public boolean remove(org.seppiko.glf.api.Marker reference)
      Specified by:
      remove in interface org.seppiko.glf.api.Marker
    • hasReferences

      public boolean hasReferences()
      Specified by:
      hasReferences in interface org.seppiko.glf.api.Marker
    • iterator

      public Iterator<org.seppiko.glf.api.Marker> iterator()
      Specified by:
      iterator in interface org.seppiko.glf.api.Marker
    • contains

      public boolean contains(org.seppiko.glf.api.Marker other)
      Specified by:
      contains in interface org.seppiko.glf.api.Marker
    • contains

      public boolean contains(String name)
      Specified by:
      contains in interface org.seppiko.glf.api.Marker
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.seppiko.glf.api.Marker
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.seppiko.glf.api.Marker
      Overrides:
      hashCode in class Object