public class AerAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
AsyncAppender. If LoggerContext.setPackagingDataEnabled(boolean) is set to true, the
appender will collect the ClassPackagingData and include them as Bundle in the incident. In addition,
LoggerContext.setMaxCallerDataDepth(int) should be set to a value high enough to get the full stacktrace of a
logging call.| Modifier and Type | Class and Description |
|---|---|
static class |
AerAppender.NoStackTrace |
| Constructor and Description |
|---|
AerAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent event) |
String |
getBuildId() |
String |
getEmail() |
int |
getHistorySize() |
String |
getProductId() |
String |
getUrl() |
String |
getUserName() |
protected void |
sendIncident(com.ctrlflow.aer.client.dto.Incident i) |
void |
setBuildId(String buildId) |
void |
setEmail(String email) |
void |
setHistorySize(int historySize) |
void |
setProductId(String productId) |
void |
setUrl(String url) |
void |
setUserName(String userName) |
protected com.ctrlflow.aer.client.dto.Bundle |
toBundle(ch.qos.logback.classic.spi.ClassPackagingData classPackagingData) |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic String getUrl()
public void setUrl(String url)
protected void append(ch.qos.logback.classic.spi.ILoggingEvent event)
append in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>protected com.ctrlflow.aer.client.dto.Bundle toBundle(ch.qos.logback.classic.spi.ClassPackagingData classPackagingData)
protected void sendIncident(com.ctrlflow.aer.client.dto.Incident i)
public int getHistorySize()
public void setHistorySize(int historySize)
public String getProductId()
public void setProductId(String productId)
public String getBuildId()
public void setBuildId(String buildId)
public String getUserName()
public void setUserName(String userName)
public String getEmail()
public void setEmail(String email)
Copyright © 2016 Codetrails GmbH. All rights reserved.