Console

Output, profile and logging functions.

console.log( 'Nidium' );

clear() (static)

Clears the console.

error([text]) (static)

Logs output to the console, marked as error.

Arguments:
text (String)

The string that should be logged

hide() (static)

Hides the console.

info([text]) (static)

Logs output to the console, marked as info.

Arguments:
text (String)

The string that should be logged

log([text]) (static)

Logs output to the console.

Arguments:
text (String)

The string that should be logged

show() (static)

Opens the console.

warn([text]) (static)

Logs output to the console, marked as warn.

Arguments:
text (String)

The string that should be logged

write([text]) (static)

Log output to the console without processing.

The string printed will not contain the JS file or line number and new line at the end of the string.

Arguments:
text (String)

The string that should be logged


Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!