Optional
Readonly
error?: ((format: string, ...param: unknown[]) => void)Logs a message to the console.
A printf
-like format string.
Rest
...param: unknown[]The parameter to log.
Optional
Readonly
group?: ((...label: string[]) => void)Increases indentation of subsequent lines by spaces for groupIndentation
length.
Rest
...label: string[]If one or more label
s are provided, those are printed first without the additional indentation.
Optional
Readonly
groupAn alias for group in Node.js.
Rest
...label: string[]Optional
Readonly
groupDecreases indentation of subsequent lines by spaces for groupIndentation
length.
Readonly
log: ((format: string, ...param: unknown[]) => void)Logs a message to the console.
A printf
-like format string.
Rest
...param: unknown[]The parameter to log.
Interface for a console object.