public class Console extends Object
| Constructor and Description |
|---|
Console() |
| Modifier and Type | Method and Description |
|---|---|
static void |
log(String message,
Object... args)
Formats and logs a message.
|
static void |
printStackTrace()
Prints out the stack trace of the caller.
|
public static void log(String message, Object... args)
public static void printStackTrace()
log(java.lang.String, java.lang.Object...) method instead of using $wnd.console
See http://eriwen.com/javascript/js-stack-trace/Copyright © 2013. All Rights Reserved.