public class Logger extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Logger.Level
Standardized logging levels.
|
static class |
Logger.LoggerType
Allows switching between Java and Commons logging.
|
Modifier and Type | Field and Description |
---|---|
static Logger.LoggerType |
LOGGER_TYPE |
Constructor and Description |
---|
Logger(Logger utilLogger) |
Logger(Object commonsLogger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
static Logger |
getLogger(String name) |
boolean |
isLoggable(Logger.Level level)
Returns whether this level is loggable.
|
void |
log(Logger.Level level,
String message) |
void |
log(Logger.Level level,
String message,
Throwable throwable) |
public static Logger.LoggerType LOGGER_TYPE
public Logger(Logger utilLogger)
public Logger(Object commonsLogger)
public boolean isLoggable(Logger.Level level)
level
- the EventBus Logger levelpublic void debug(String message)
public void log(Logger.Level level, String message)
public void log(Logger.Level level, String message, Throwable throwable)
Copyright © 2013 Bushe Enterprises, Inc.. All rights reserved.