Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OfLoxes

Methods returned from the LogMethods.of method

Hierarchy

Methods

add

  • assigns a single log to a log box and imitates the behavior of LogMethods.log

    Parameters

    Returns void

close

  • closes an opened log box and imitates the behavior of LogMethods.log

    Parameters

    Returns void

error

namedError

  • namedError(name: string, message: string, existingError?: unknown, item?: ItemType, itemOptions?: ItemOptions): void
  • a direct shortcut for Loxer.of(...).error(new NamedError(...)). It combines the parameters of the NamedError and the .error() method

    Parameters

    • name: string
    • message: string
    • Optional existingError: unknown
    • Optional item: ItemType
    • Optional itemOptions: ItemOptions

    Returns void

Generated using TypeDoc