Class DubboAppender

java.lang.Object
org.apache.logging.log4j.core.AbstractLifeCycle
org.apache.logging.log4j.core.filter.AbstractFilterable
org.apache.logging.log4j.core.appender.AbstractAppender
org.apache.dubbo.common.utils.DubboAppender
All Implemented Interfaces:
org.apache.logging.log4j.core.Appender, org.apache.logging.log4j.core.filter.Filterable, org.apache.logging.log4j.core.impl.LocationAware, org.apache.logging.log4j.core.LifeCycle, org.apache.logging.log4j.core.LifeCycle2

@Plugin(name="Dubbo", category="Core", elementType="appender") public class DubboAppender extends org.apache.logging.log4j.core.appender.AbstractAppender
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle

    org.apache.logging.log4j.core.LifeCycle.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static List<Log>
     

    Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

    DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT

    Fields inherited from interface org.apache.logging.log4j.core.Appender

    ELEMENT_TYPE, EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(org.apache.logging.log4j.core.LogEvent event)
     
    static void
     
    static void
     
    static void
     
    void
     
     
    void
     
    void
     

    Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender

    error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toString

    Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable

    addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stop

    Methods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

    getState, isInitialized, isStarted, isStarting, isStopped, isStopping

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.logging.log4j.core.LifeCycle

    getState, isStarted, isStopped
  • Field Details

    • available

      public static boolean available
    • logList

      public static List<Log> logList
  • Constructor Details

    • DubboAppender

      public DubboAppender()
  • Method Details

    • newBuilder

      @PluginBuilderFactory public static DubboAppender.Builder newBuilder()
    • doStart

      public static void doStart()
    • doStop

      public static void doStop()
    • clear

      public static void clear()
    • append

      public void append(org.apache.logging.log4j.core.LogEvent event)
    • initialize

      public void initialize()
      Specified by:
      initialize in interface org.apache.logging.log4j.core.LifeCycle
      Overrides:
      initialize in class org.apache.logging.log4j.core.AbstractLifeCycle
    • start

      public void start()
      Specified by:
      start in interface org.apache.logging.log4j.core.LifeCycle
      Overrides:
      start in class org.apache.logging.log4j.core.filter.AbstractFilterable
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.logging.log4j.core.LifeCycle
      Overrides:
      stop in class org.apache.logging.log4j.core.AbstractLifeCycle