public class Slf4jEventSender extends Object implements LogEventSender
Constructor and Description |
---|
Slf4jEventSender() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillMDC(LogEvent event,
Set<String> keys) |
protected org.slf4j.Logger |
getLogger(LogEvent event) |
protected String |
getLogMessage(LogEvent event) |
protected void |
performLogging(org.slf4j.Logger log,
org.slf4j.Marker marker,
String logMessage)
Override this to easily change the logging level etc.
|
void |
send(LogEvent event) |
void |
setLoggingLevel(org.slf4j.event.Level loggingLevel) |
void |
setLoggingLevel(String loggingLevel) |
public void send(LogEvent event)
send
in interface LogEventSender
protected org.slf4j.Logger getLogger(LogEvent event)
protected void performLogging(org.slf4j.Logger log, org.slf4j.Marker marker, String logMessage)
public void setLoggingLevel(org.slf4j.event.Level loggingLevel)
public void setLoggingLevel(String loggingLevel)
Apache CXF