Callable
- ExtendedLogger(context: string | LogMessageOptions, ...details: unknown[]): void
- ExtendedLogger(context: string | LogMessageOptions, error: Error, ...details: unknown[]): void
Parameters
Rest ...details: unknown[]
Returns void
Parameters
error: Error
Rest ...details: unknown[]
Returns void
Methods
error
- error(context: string, ...details: unknown[]): void
- error(context: string, error: Error, ...details: unknown[]): void
Parameters
context: string
Rest ...details: unknown[]
Returns void
Parameters
context: string
error: Error
Rest ...details: unknown[]
Returns void
info
- info(context: string, ...details: unknown[]): void
Parameters
context: string
Rest ...details: unknown[]
Returns void
warn
- warn(context: string, ...details: unknown[]): void
- warn(context: string, error: Error, ...details: unknown[]): void
Parameters
context: string
Rest ...details: unknown[]
Returns void
Parameters
context: string
error: Error
Rest ...details: unknown[]
Returns void
Logs a message with the error level and specified context