Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILogger

Interface for a logger object used to print log messages

Hierarchy

  • ILogger

Index

Properties

Properties

Optional err

err: function

Logging function for errors (default: console.error)

Type declaration

    • (msg: string): void
    • Parameters

      • msg: string

      Returns void

Optional info

info: function

Logging function for info messages (default: console.log)

Type declaration

    • (msg: string): void
    • Parameters

      • msg: string

      Returns void

Optional warn

warn: function

Logging function for warnings (default: console.log)

Type declaration

    • (msg: string): void
    • Parameters

      • msg: string

      Returns void