Logs to an in-memory array - not the console

Hierarchy

  • BaseLog
    • MemoryLog

Constructors

  • Parameters

    • Rest ...sources: (string | BaseLog | LogSource)[]

    Returns MemoryLog

Properties

debug: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

error: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

info: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

lines: ILogLine[] = []
sources: (string | LogSource)[]
trace: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

warn: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

Methods

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • Rest ...sources: (string | BaseLog | LogSource)[]

    Returns void

  • Re-binds the Log methods

    Returns void

Generated using TypeDoc