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: 23 November, 2024