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.

interface LDLogger {
    debug: ((message: string) => void);
    error: ((message: string) => void);
    info: ((message: string) => void);
    warn: ((message: string) => void);
}

Properties

Properties

debug: ((message: string) => void)
error: ((message: string) => void)
info: ((message: string) => void)
warn: ((message: string) => void)