public interface BotLogger
| Modifier and Type | Method and Description |
|---|---|
BotLogEntryBuilder |
composeLogMessage()
Might be used to compose complicated log records
|
void |
debug(String message)
Logs a message at the DEBUG level
|
void |
debug(String message,
Throwable exception)
Logs an exception (throwable) at the DEBUG level with an accompanying message.
|
void |
error(String message)
Logs a message at the ERROR level
|
void |
error(String message,
Throwable exception)
Logs an exception (throwable) at the ERROR level with an accompanying message.
|
void |
info(String message)
Logs a message at the INFO level
|
void |
info(String message,
Throwable exception)
Logs an exception (throwable) at the INFO level with an accompanying message.
|
void |
log(BotLogEntry entry)
Writes log entry to logging stream
|
void |
log(BotLogSeverity severity,
String message,
Throwable exception)
Logs an exception with exact severity level with an accompanying message
|
void |
warn(String message)
Logs a message at the WARNING level
|
void |
warn(String message,
Throwable exception)
Logs an exception (throwable) at the WARNING level with an accompanying message.
|
void debug(String message)
message - the message String to be loggedvoid debug(String message, Throwable exception)
message - the message accompanying the exceptionexception - the exception (throwable) to logvoid info(String message)
message - the message String to be loggedvoid info(String message, Throwable exception)
message - the message accompanying the exceptionexception - the exception (throwable) to logvoid warn(String message)
message - the message String to be loggedvoid warn(String message, Throwable exception)
message - the message accompanying the exceptionexception - the exception (throwable) to logvoid error(String message)
message - the message String to be loggedvoid error(String message, Throwable exception)
message - the message accompanying the exceptionexception - the exception (throwable) to logvoid log(BotLogSeverity severity, String message, Throwable exception)
severity - severity levelmessage - the message accompanying the exceptionexception - the exception (throwable) to logvoid log(BotLogEntry entry)
entry - log entryBotLogEntryBuilder composeLogMessage()
BotLogEntryBuilder instanceCopyright © 2016. All rights reserved.