public final class Loggers
extends java.lang.Object
Logger.| Modifier and Type | Method and Description |
|---|---|
static java.util.logging.Logger |
emptyLogger(Bot bot)
Returns a logger for a bot that does nothing.
|
static void |
logError(java.util.logging.Logger logger,
java.lang.Throwable t)
Logs an error.
|
static java.util.logging.Logger |
newLogger(Bot bot)
Returns the default logger for the specified bot.
|
public static java.util.logging.Logger newLogger(Bot bot)
bot - the botpublic static java.util.logging.Logger emptyLogger(Bot bot)
bot - the botpublic static void logError(java.util.logging.Logger logger,
java.lang.Throwable t)
logger - the loggert - the error