Options
All
  • Public
  • Public/Protected
  • All
Menu

The minimal interface for any object that LDClient can use for logging.

The client uses four log levels, with "error" being the most severe. Each corresponding logger method takes a single string parameter. The logger implementation is responsible for deciding whether to produce output or not based on the level.

Hierarchy

  • LDLogger

Index

Properties

Properties

debug

debug: (message: string) => void

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

error

error: (message: string) => void

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

info

info: (message: string) => void

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

warn

warn: (message: string) => void

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

Generated using TypeDoc