Package org.apache.dubbo.common.utils
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 ClassesNested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle
org.apache.logging.log4j.core.LifeCycle.State -
Field Summary
FieldsFields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNITFields inherited from interface org.apache.logging.log4j.core.Appender
ELEMENT_TYPE, EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toStringMethods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stopMethods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
getState, isInitialized, isStarted, isStarting, isStopped, isStoppingMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.core.LifeCycle
getState, isStarted, isStopped
-
Field Details
-
available
public static boolean available -
logList
-
-
Constructor Details
-
DubboAppender
public DubboAppender()
-
-
Method Details
-
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:
initializein interfaceorg.apache.logging.log4j.core.LifeCycle- Overrides:
initializein classorg.apache.logging.log4j.core.AbstractLifeCycle
-
start
public void start()- Specified by:
startin interfaceorg.apache.logging.log4j.core.LifeCycle- Overrides:
startin classorg.apache.logging.log4j.core.filter.AbstractFilterable
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.logging.log4j.core.LifeCycle- Overrides:
stopin classorg.apache.logging.log4j.core.AbstractLifeCycle
-