Optionalclearfunction to clear the console, e.g. send the ASCII ctrl character
Optionalformatter?: ((args: unknown[]) => string)format given values, either by using a format string as first param or otherwise display values in a well readable format, see https://console.spec.whatwg.org/#formatter
Optionalinspect?: ((args: unknown[]) => string)format js values to be well readable
Optionallogger?: ((logLevel: string, args: unknown[], options: ConsolePrinterOptions) => void)function to handle normal log messages, see https://console.spec.whatwg.org/#logger
function to print messages to somewhere, see https://console.spec.whatwg.org/#printer
Creates a custom
consoleobject.