Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Logger

Hierarchy

  • Logger

Index

Methods

attachError

  • attachError(error: Error): this

attachEvent

  • attachEvent(event: Event): this

critical

  • critical(message: string, metadata?: any): void
  • Parameters

    • message: string
    • Optional metadata: any

    Returns void

debug

  • debug(message: string, metadata?: any): void
  • Parameters

    • message: string
    • Optional metadata: any

    Returns void

error

  • error(message: string, metadata?: any): void
  • Parameters

    • message: string
    • Optional metadata: any

    Returns void

forBot

  • forBot(botId: string): this

info

  • info(message: string, metadata?: any): void
  • Parameters

    • message: string
    • Optional metadata: any

    Returns void

level

noEmit

  • noEmit(): this

persist

  • persist(shouldPersist: boolean): this

warn

  • warn(message: string, metadata?: any): void
  • Parameters

    • message: string
    • Optional metadata: any

    Returns void

Generated using TypeDoc