@Generated(value="org.realityforge.webtack")
public final class Console
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assert_(boolean condition) |
static void |
assert_(boolean condition,
java.lang.Object... data) |
static void |
clear()
The console.clear() method clears the console if the environment allows it.
|
static void |
count()
The console.count() method logs the number of times that this particular call to count() has been called.
|
static void |
count(java.lang.String label)
The console.count() method logs the number of times that this particular call to count() has been called.
|
static void |
countReset()
The console.countReset() method resets counter used with console.count().
|
static void |
countReset(java.lang.String label)
The console.countReset() method resets counter used with console.count().
|
static void |
debug(java.lang.Object... data)
The console method debug() outputs a message to the web console at the "debug" log level.
|
static void |
dir()
The Console method dir() displays an interactive list of the properties of the specified JavaScript object.
|
static void |
dir(java.lang.Object item)
The Console method dir() displays an interactive list of the properties of the specified JavaScript object.
|
static void |
dir(java.lang.Object item,
java.lang.Object options)
The Console method dir() displays an interactive list of the properties of the specified JavaScript object.
|
static void |
dirxml(java.lang.Object... data)
Displays an interactive tree of the descendant elements of the specified XML/HTML element.
|
static void |
error(java.lang.Object... data)
Outputs an error message to the Web Console.
|
static void |
group(java.lang.Object... data)
Creates a new inline group in the Web Console log.
|
static void |
groupCollapsed(java.lang.Object... data)
Creates a new inline group in the Web Console.
|
static void |
groupEnd()
Exits the current inline group in the Web Console.
|
static void |
info(java.lang.Object... data)
The console.info() method outputs an informational message to the Web Console.
|
static void |
log(java.lang.Object... data)
The Console method log() outputs a message to the web console.
|
static ConsoleNamespace |
namespace()
Return the 'console' namespace object.
|
static void |
table()
Displays tabular data as a table.
|
static void |
table(java.lang.Object tabularData)
Displays tabular data as a table.
|
static void |
table(java.lang.Object tabularData,
JsArray<java.lang.String> properties)
Displays tabular data as a table.
|
static void |
table(java.lang.Object tabularData,
java.lang.String[] properties)
Displays tabular data as a table.
|
static void |
time()
Starts a timer you can use to track how long an operation takes.
|
static void |
time(java.lang.String label)
Starts a timer you can use to track how long an operation takes.
|
static void |
timeEnd()
Stops a timer that was previously started by calling console.time().
|
static void |
timeEnd(java.lang.String label)
Stops a timer that was previously started by calling console.time().
|
static void |
timeLog(java.lang.String label)
Logs the current value of a timer that was previously started by calling console.time() to the console.
|
static void |
timeLog(java.lang.String label,
java.lang.Object... data)
Logs the current value of a timer that was previously started by calling console.time() to the console.
|
static void |
trace(java.lang.Object... data)
The console interface's trace() method outputs a stack trace to the Web Console.
|
static void |
warn(java.lang.Object... data)
Outputs a warning message to the Web Console.
|
public static void assert_(boolean condition,
@Nullable
java.lang.Object... data)
public static void assert_(boolean condition)
public static void clear()
public static void count(@Nonnull
java.lang.String label)
public static void count()
public static void countReset(@Nonnull
java.lang.String label)
public static void countReset()
public static void debug(@Nullable
java.lang.Object... data)
public static void dir(@Nullable
java.lang.Object item,
@Nullable
java.lang.Object options)
public static void dir(@Nullable
java.lang.Object item)
public static void dir()
public static void dirxml(@Nullable
java.lang.Object... data)
public static void error(@Nullable
java.lang.Object... data)
public static void group(@Nullable
java.lang.Object... data)
public static void groupCollapsed(@Nullable
java.lang.Object... data)
public static void groupEnd()
public static void info(@Nullable
java.lang.Object... data)
public static void log(@Nullable
java.lang.Object... data)
public static void table(@Nullable
java.lang.Object tabularData,
@Nonnull
JsArray<java.lang.String> properties)
public static void table(@Nullable
java.lang.Object tabularData,
@Nonnull
java.lang.String[] properties)
public static void table(@Nullable
java.lang.Object tabularData)
public static void table()
public static void time(@Nonnull
java.lang.String label)
public static void time()
public static void timeEnd(@Nonnull
java.lang.String label)
public static void timeEnd()
public static void timeLog(@Nonnull
java.lang.String label,
@Nullable
java.lang.Object... data)
public static void timeLog(@Nonnull
java.lang.String label)
public static void trace(@Nullable
java.lang.Object... data)
public static void warn(@Nullable
java.lang.Object... data)
@Nonnull public static ConsoleNamespace namespace()