Skip to content

Customize/override logger #886

@matthurne

Description

@matthurne

I would like the ability to override the default logger used by the splitio SDK. This is a capability of some other packages such as NestJS (see https://docs.nestjs.com/techniques/logger#using-the-logger-for-application-logging). It's helpful because it enables control over the logger output. For example, I could provider a logger that renders log events in JSON format with a standardized set of properties. This is especially helpful when the events are shipped to a log aggregation service capable of parsing the JSON and indexing the individual log event properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions