public class Slf4jBotLogger extends AbstractBotLogger
| Constructor and Description |
|---|
Slf4jBotLogger(org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatLogEntry(BotLogEntry entry)
Base method to convert log entry to String.
|
protected void |
writeToSink(BotLogEntry entry)
Customizable method which writes log entry to exact resource
|
composeLogMessage, debug, debug, error, error, getDateFormat, info, info, log, log, warn, warnprotected void writeToSink(BotLogEntry entry)
AbstractBotLoggerwriteToSink in class AbstractBotLoggerentry - log entryprotected String formatLogEntry(BotLogEntry entry)
AbstractBotLoggerformatLogEntry in class AbstractBotLoggerentry - log entryCopyright © 2016. All rights reserved.