Files
NativeScript/tests/app/console.md
Panayot Cankov e135c20b14 Rename the files
2016-05-26 14:30:25 +03:00

968 B

nav-title, title, description, previous_url
nav-title title description previous_url
console How-To console Examples for using console /ApiReference/console/HOW-TO

Console

Logging

Logging to the console does not require the "console" module since the console variable is global. It can be used anywhere within your code. You can log your message in several different categories.

Time

Begins counting a time span for a given name (key).

Ends a previously started time span through the time method.

Assert

Asserts a boolean condition and prints a message in case the assert fails.

Dir

Prints the state of the specified object to the console.

Dump

Prints the state of the specified object to the console.

Trace

Prints the current stack trace in the console.