public class WebConsole extends Object implements org.htmlunit.corejs.javascript.NativeConsole.ConsolePrinter, Serializable
The default logger uses Apache Commons Logging.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | WebConsole.LoggerA simple logging interface abstracting logging APIs. | 
| Constructor and Description | 
|---|
| WebConsole() | 
| Modifier and Type | Method and Description | 
|---|---|
| WebConsole.Logger | getLogger()Returns the current Logger. | 
| void | print(org.htmlunit.corejs.javascript.Context cx,
     org.htmlunit.corejs.javascript.Scriptable scope,
     org.htmlunit.corejs.javascript.NativeConsole.Level level,
     Object[] args,
     org.htmlunit.corejs.javascript.ScriptStackElement[] stack) | 
| void | setLogger(WebConsole.Logger logger)Sets the Logger_. | 
public void setLogger(WebConsole.Logger logger)
logger - the loggerpublic WebConsole.Logger getLogger()
public void print(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.NativeConsole.Level level, Object[] args, org.htmlunit.corejs.javascript.ScriptStackElement[] stack)
print in interface org.htmlunit.corejs.javascript.NativeConsole.ConsolePrinterCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.