LoggerArguments type alias
The arguments of the Logger constructor.
Signature
export type LoggerArguments<C extends LoggerConsole = Console> = Console extends C ? [params?: LoggerParams<C>] : [params: LoggerParams<C> & {
console: C;
}];
References: LoggerConsole, LoggerParams
Remarks
The options are optional, and so is the console, if the JavaScript standard console object is of type C; otherwise the console is required, since the logger would use an object that is not of the type that the console accessor promises.
Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.60.1.