Dynamic module winston

Index

Variables

Interfaces

Classes

Functions

Variables

exitOnError: boolean

transports: Transports

Functions

add(transport: Transport, options: any)

Parameters

debug(message: string, metadata?: any)

Parameters

  • message: string
  • metadata?: any optional

error(message: string, metadata?: any)

Parameters

  • message: string
  • metadata?: any optional

handleExceptions(transport: Transport)

Parameters

info(message: string, metadata?: any)

Parameters

  • message: string
  • metadata?: any optional

log(level: string, message: string, metadata?: any)

Parameters

  • level: string
  • message: string
  • metadata?: any optional

profile(name: string)

Parameters

  • name: string

query(options: any, done: (err: any, results: any) => void)

Parameters

  • options: any
  • done: (err: any, results: any) => void

remove(transport: Transport)

Parameters

stream(options: any): any

Parameters

  • options: any

Returns

any

warn(message: string, metadata?: any)

Parameters

  • message: string
  • metadata?: any optional