public class RedisAppender
extends ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
| Constructor and Description |
|---|
RedisAppender() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalField(AdditionalField p)
Deprecated.
|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent event) |
int |
getCallerStackIndex()
Deprecated.
|
int |
getDatabase() |
String |
getHost() |
String |
getKey() |
ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent> |
getLayout() |
boolean |
getLocation()
Deprecated.
|
boolean |
getMdc()
Deprecated.
|
String |
getPassword() |
int |
getPort() |
String |
getSource()
Deprecated.
|
String |
getSourceHost()
Deprecated.
|
String |
getSourcePath()
Deprecated.
|
String |
getTags()
Deprecated.
|
int |
getTimeout() |
String |
getType()
Deprecated.
|
void |
setCallerStackIndex(int index)
Deprecated.
|
void |
setDatabase(int database) |
void |
setHost(String host) |
void |
setKey(String key) |
void |
setLayout(ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent> layout) |
void |
setLocation(boolean flag)
Deprecated.
|
void |
setMdc(boolean flag)
Deprecated.
|
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setSource(String source)
Deprecated.
|
void |
setSourceHost(String sourceHost)
Deprecated.
|
void |
setSourcePath(String sourcePath)
Deprecated.
|
void |
setTags(String tags)
Deprecated.
|
void |
setTimeout(int timeout) |
void |
setType(String type)
Deprecated.
|
void |
start() |
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected void append(ch.qos.logback.classic.spi.ILoggingEvent event)
append in class ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>@Deprecated public String getSource()
@Deprecated public void setSource(String source)
@Deprecated public String getSourceHost()
@Deprecated public void setSourceHost(String sourceHost)
@Deprecated public String getSourcePath()
@Deprecated public void setSourcePath(String sourcePath)
@Deprecated public String getTags()
@Deprecated public void setTags(String tags)
@Deprecated public String getType()
@Deprecated public void setType(String type)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getKey()
public void setKey(String key)
public int getTimeout()
public void setTimeout(int timeout)
public String getPassword()
public void setPassword(String password)
public int getDatabase()
public void setDatabase(int database)
@Deprecated public void setMdc(boolean flag)
@Deprecated public boolean getMdc()
@Deprecated public void setLocation(boolean flag)
@Deprecated public boolean getLocation()
@Deprecated public void setCallerStackIndex(int index)
@Deprecated public int getCallerStackIndex()
@Deprecated public void addAdditionalField(AdditionalField p)
public ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent> getLayout()
public void setLayout(ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent> layout)
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>public void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclestop in class ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>Copyright © 2015. All rights reserved.