Logger: ((severity, ...args) => void)

An interface of a logger that can be used to output log messages.

Type declaration

    • (severity, ...args): void
    • Parameters

      • severity: LogSeverity

        Indicates the severity of the log message.

      • Rest ...args: unknown[]

        The arguments that describe the event that occurred.

      Returns void