Class Log4j2Marker

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

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

    Constructors 
    Constructor Description
    Log4j2Marker​(org.apache.logging.log4j.Marker marker)  
  • Method Summary

    Modifier and Type Method Description
    void add​(org.seppiko.glf.api.Marker reference)  
    boolean contains​(java.lang.String name)  
    boolean contains​(org.seppiko.glf.api.Marker other)  
    boolean equals​(java.lang.Object obj)  
    java.lang.String getName()  
    int hashCode()  
    boolean hasReferences()  
    java.util.Iterator<org.seppiko.glf.api.Marker> iterator()  
    boolean remove​(org.seppiko.glf.api.Marker reference)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Log4j2Marker

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

    • getName

      public java.lang.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 java.util.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​(java.lang.String name)
      Specified by:
      contains in interface org.seppiko.glf.api.Marker
    • equals

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

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