public class LoggingEventConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
LOG_LINE_FORMAT
The log line format.
|
Constructor and Description |
---|
LoggingEventConverter()
Constructor for normal usage.
|
LoggingEventConverter(IThrowableProxyConverter iThrowableProxyConverter)
Constructor for unit testing.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(ch.qos.logback.classic.spi.LoggingEvent event)
Converts the LoggingEvent to a loggable string.
|
protected static final java.lang.String LOG_LINE_FORMAT
public LoggingEventConverter()
public LoggingEventConverter(IThrowableProxyConverter iThrowableProxyConverter)
iThrowableProxyConverter
- the converter to be used (e.g. a mock).