Represents a LogSnag insight.

Methods

  • Returns string

    The title of the insight.

  • Mutates the current value of the insight with the given increment or decrement.

    Parameters

    • amount: number
    • Optional icon: string

    Returns Promise<void>

    A promise that resolves if the request succeeds, or rejects with an error message.

  • Sets a new value for the insight.

    Parameters

    • value: string | number
    • Optional icon: string

    Returns Promise<void>

    A promise that resolves if the request succeeds, or rejects with an error message.

Generated using TypeDoc