类 RedisAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
com.sie.mbm.mom.framework.apilog.step.common.RedisAppender
- 所有已实现的接口:
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.LifeCycle
public class RedisAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final Stringprivate Stringprivate String(专用程序包) static String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final String(专用程序包) static final int(专用程序包) static final String(专用程序包) static final Stringprivate boolean从类继承的字段 ch.qos.logback.core.AppenderBase
name, started从类继承的字段 ch.qos.logback.core.spi.ContextAwareBase
context -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private voidallLogPush(String message, ch.qos.logback.classic.spi.ILoggingEvent event) 全部日志protected voidappend(ch.qos.logback.classic.spi.ILoggingEvent event) 追加日志private voidinterfaceLogPush(String message) 接口日志static voidlogInPush(LogApiStrInfo logApiStrInfo) private voidlogPush(ch.qos.logback.classic.spi.ILoggingEvent event) 推送日志到 Redisprivate static voidvoid从类继承的方法 ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString从类继承的方法 ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
字段详细资料
-
env
-
applicationName
-
startRedisFlag
private boolean startRedisFlag -
INTERFACE
- 另请参阅:
-
MESSAGE
- 另请参阅:
-
INTERFACE_HTTP
- 另请参阅:
-
INTERFACE_RESTAPI
- 另请参阅:
-
INTERFACE_FEIGN_ASPECT
- 另请参阅:
-
INTERFACE_FEIGN_INTERCEPTOR
- 另请参阅:
-
LOG_API_INFO
- 另请参阅:
-
INTERFACE_FLAG
- 另请参阅:
-
ALL
- 另请参阅:
-
REDIS_TEMPLATE
- 另请参阅:
-
LOC
- 另请参阅:
-
INTERFACE_IN_FLAG
- 另请参阅:
-
ENV_STATIC
-
LOG_IN_EXPIRED
static final int LOG_IN_EXPIRED- 另请参阅:
-
-
构造器详细资料
-
RedisAppender
public RedisAppender()
-
-
方法详细资料
-
logPush
private void logPush(ch.qos.logback.classic.spi.ILoggingEvent event) 推送日志到 Redis -
interfaceLogPush
接口日志 -
logInPush
-
allLogPush
全部日志 -
append
protected void append(ch.qos.logback.classic.spi.ILoggingEvent event) 追加日志- 指定者:
append在类中ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
setEnv
-
redisPush
-