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

Properties

Properties

debug: ((message: string) => void)

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

error: ((message: string) => void)

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

info: ((message: string) => void)

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

warn: ((message: string) => void)

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

Generated using TypeDoc