The prefix string.
The options object.
Optionalenabled?: booleanWhether logging is enabled.
OptionalerrorFn?: () => voidThe function with Error.
OptionalisClosed?: booleanDeprecated, Use "enabled" instead.
OptionalisStringifyObject?: booleanWhether to stringify the object.
Optionallocales?: stringA locale string.
OptionallogFn?: () => voidThe function with Log.
OptionalshowDate?: booleanWhether to show the date.
OptionalshowWrap?: booleanWhether to show the wrap.
The custom console object.
Create a configurable wrapper around the global
console.Usage:
Output: