interface Console
Interface representing the console object that provides methods for logging, debugging, and timing
Methods #
Tests that an expression is true. If not, logs an error message
Maintains an internal counter for a given label, incrementing it each time the method is called
#countReset(label?: string): void
Resets the counter for a given label
Outputs an error message to the console. This method routes the output to stderr, unlike other console methods that route to stdout.
Creates a new inline group in the console, indenting subsequent console messages
#groupCollapsed(...data: any[]): void
Creates a new inline group in the console that is initially collapsed
Logs the current value of a timer that was previously started
#profileEnd(label?: string): void
Stops recording a performance profile