Type alias LogCallback

LogCallback: ((level, target, message) => void)

Type declaration

    • (level, target, message): void
    • Parameters

      • level: number

        How important this message is. 1 = Error, 2 = Warn, 3 = Info, 4 = Debug, 5 = Trace

      • target: string

        Name of the sub-system that the message concerns.

      • message: string

        Human-readable message that developers can use to figure out what is happening.

      Returns void