• Log an error that occurs in your application.

    Parameters

    • error: Error

      The error that occurred.

    • Optionaloptions: LogOptions

      Options to include with the log message.

    Returns Promise<void>