public class SLF4JHandler extends OutputHandler
addRandomColors, channelColors, channelSeparatorChar, channelStyles, info, leftMargin, minLineCountForTrackNameReminder, queuedTracks, tab, trackColor, trackStack, trackStyle
EMPTY
Constructor and Description |
---|
SLF4JHandler() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Redwood.Record> |
handle(Redwood.Record record)
Override the raw handle method, as potentially we are dropping log levels in SLF4J
and we do not want to render the resulting message.
|
void |
print(java.lang.Object[] channel,
java.lang.String line)
Print a string to an output without the trailing newline.
|
colorChannel, formatChannel, setColorChannels, signalEndTrack, signalStartTrack, style, styleChannel, supportsAnsi
signalShutdown
public java.util.List<Redwood.Record> handle(Redwood.Record record)
handle
in class OutputHandler
record
- The record to handle.public void print(java.lang.Object[] channel, java.lang.String line)
OutputHandler
print
in class OutputHandler
channel
- The channels this message was printed on; in most cases
an implementing handler should not have to do anything with
this. The channels should not be printed here.
The channels may be null.line
- The string to be printed.