JavaScriptConsole

@native @JSType
trait JavaScriptConsole extends Object

Facade around extra features of the JavaScript console in the browser

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def assert(test: Boolean, message: String, optionalParams: Any*): Unit
def clear(): Unit
def dir(value: Any, optionalParams: Any*): Unit

Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.

Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.

MDN

def error(message: Any, optionalParams: Any*): Unit

Outputs an error message. You may use string substitution and additional arguments with this method. See Using string substitutions.

Outputs an error message. You may use string substitution and additional arguments with this method. See Using string substitutions.

MDN

def info(message: Any, optionalParams: Any*): Unit

Outputs an informational message to the Web Console. In Firefox, a small "i" icon is displayed next to these items in the Web Console's log.

Outputs an informational message to the Web Console. In Firefox, a small "i" icon is displayed next to these items in the Web Console's log.

MDN

def log(message: Any, optionalParams: Any*): Unit

For general output of logging information. You may use string substitution and additional arguments with this method. See Using string substitutions.

For general output of logging information. You may use string substitution and additional arguments with this method. See Using string substitutions.

MDN

def profile(reportName: String): Unit
def profileEnd(): Unit
def warn(message: Any, optionalParams: Any*): Unit

Outputs a warning message. You may use string substitution and additional arguments with this method. See Using string substitutions.

Outputs a warning message. You may use string substitution and additional arguments with this method. See Using string substitutions.

MDN

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object