public class ApplicationInsightsAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
Constructor and Description |
---|
ApplicationInsightsAppender() |
Modifier and Type | Method and Description |
---|---|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent eventObject)
Appends the new event.
|
TelemetryClientProxy |
getTelemetryClientProxy() |
void |
setInstrumentationKey(java.lang.String instrumentationKey)
Sets the instrumentation key.
|
void |
start() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public TelemetryClientProxy getTelemetryClientProxy()
public void setInstrumentationKey(java.lang.String instrumentationKey)
instrumentationKey
- The instrumentation key.protected void append(ch.qos.logback.classic.spi.ILoggingEvent eventObject)
append
in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
eventObject
- The event to append.public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>