[][src]Module boa::builtins::console

This module implements the global console object.

The console object can be accessed from any global object.

The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided.

More information:

Structs

ConsoleState

This is the internal console object state.

Enums

LogMessage

This represents the different types of log messages.

Functions

assert

console.assert(condition, ...data)

clear

console.clear()

count

console.count(label)

count_reset

console.countReset(label)

create

Create a new console object

debug

console.debug(...data)

dir

console.dir(item, options)

error

console.error(...data)

formatter

This represents the console formatter.

group

console.group(...data)

group_end

console.groupEnd(label)

info

console.info(...data)

init

Initialise the console object on the global object.

log

console.log(...data)

logger

Helper function for logging messages.

time

console.time(label)

time_end

console.timeEnd(label)

time_log

console.timeLog(label, ...data)

trace

console.trace(...data)

warn

console.warn(...data)