logException MethodStatic

Log the specified exception. The special "ExceptionType" property will be added as metadata.

logException(category: string, err: any, log: LogFunction...): void

Parameter Type Description
category string The category of the message.
err any The exception object.
log LogFunction The logger output function to use - defaults to Logger.logError

Returns - void

Defined in

Last Updated: 17 December, 2024