Console
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.
iOS Specifics: On iOS the logging is enabled only in debug and will not work in release.
Usage
Common log operations through the console
.
Measuring time intervals with time
and timeEnd
methods.
Printing the stack trace through the trace
method.