Skip to content

Logger middleware - add option to disable logs based on environment #182

@guilherme-s3wf

Description

@guilherme-s3wf

Currently, when using logger middleware with logger.New(), logs are always enabled. Add an option to conditionally disable these logs in logger.Config{} configuration depending on the environment (e.g., disable logs in production, enable them in development).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions