Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseLog

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns BaseLog

Properties

debug

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

Type declaration

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

      • Rest ...args: any[]

      Returns void

error

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

Type declaration

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

      • Rest ...args: any[]

      Returns void

info

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

Type declaration

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

      • Rest ...args: any[]

      Returns void

Protected sources

sources: Array<LogSource | string>

trace

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

Type declaration

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

      • Rest ...args: any[]

      Returns void

warn

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

Type declaration

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

      • Rest ...args: any[]

      Returns void

Methods

setSources

  • setSources(...sources: Array<LogSource | string>): void
  • Parameters

    Returns void

Abstract setup

  • setup(): void
  • Re-binds the Log methods. Called automatically when the winston instance is set.

    Returns void

Generated using TypeDoc