public class WebConsole extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
WebConsole.Formatter
This interface can be implemented by clients that want to customize
the way parameters and objects are logged.
|
static interface |
WebConsole.Logger
A simple logging interface abstracting logging APIs.
|
Constructor and Description |
---|
WebConsole() |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object... args)
Prints the passed objects using logger debug level.
|
void |
error(Object... args)
Prints the passed objects using logger error level.
|
WebConsole.Formatter |
getFormatter()
Returns the current Formatter.
|
WebConsole.Logger |
getLogger()
Returns the current Logger.
|
void |
info(Object... args)
Prints the passed objects using logger info level.
|
void |
setFormatter(WebConsole.Formatter formatter)
Sets the Formatter.
|
void |
setLogger(WebConsole.Logger logger)
Sets the Logger_.
|
void |
trace(Object... args)
Prints the passed objects using logger trace level.
|
void |
warn(Object... args)
Prints the passed objects using logger warn level.
|
public void setFormatter(WebConsole.Formatter formatter)
formatter
- the formatterpublic WebConsole.Formatter getFormatter()
public void setLogger(WebConsole.Logger logger)
logger
- the loggerpublic WebConsole.Logger getLogger()
public void trace(Object... args)
args
- the logging parameterspublic void debug(Object... args)
args
- the logging parameterspublic void info(Object... args)
args
- the logging parameterspublic void warn(Object... args)
args
- the logging parameterspublic void error(Object... args)
args
- the logging parametersCopyright © 2002–2019 Gargoyle Software Inc.. All rights reserved.