• Provides a basic LDLogger implementation.

    Output is written to console.log using Node's util.format so multiple arguments and format specifiers (%s, %d, etc.) are formatted the way Node consumers expect.

    If you do not pass a logger via LDOptions.logger, the SDK falls back to a logger equivalent to basicLogger({ level: 'info' }).

    Parameters

    Returns LDLogger

    Example

    const ldOptions = {
    logger: basicLogger({ level: 'warn' }),
    };

Generated using TypeDoc