@JsType(isNative=true) public class Console extends Object
Constructor and Description |
---|
Console() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
static void |
error(Object... objs) |
static void |
error(Object obj) |
static void |
error(String s) |
MemoryInfo |
getMemory() |
static void |
log(Object obj) |
static void |
log(String s) |
void |
nativeClear() |
void |
nativeError(Object... obj) |
void |
nativeError(String message) |
void |
nativeLog(Object... obj) |
void |
nativeLog(String message) |
static void |
printStackTrace(String message,
Throwable ex) |
static void |
printStackTrace(Throwable ex) |
@JsProperty public MemoryInfo getMemory()
@JsMethod(name="log") public void nativeLog(Object... obj)
@JsMethod(name="log") public void nativeLog(String message)
@JsMethod(name="error") public void nativeError(Object... obj)
@JsMethod(name="error") public void nativeError(String message)
@JsMethod(name="clear") public void nativeClear()
@JsOverlay public static final void clear()
@JsOverlay public static final void log(String s)
@JsOverlay public static final void log(Object obj)
@JsOverlay public static final void error(String s)
@JsOverlay public static final void error(Object obj)
@JsOverlay public static final void error(Object... objs)
@JsOverlay public static final void printStackTrace(Throwable ex)
Copyright © 2018 Xalys. All rights reserved.