Skip to content

Is it possible to specify a log level per component #107

Open
@no-more

Description

@no-more

Hi,

Let's say I have 10 components, each one is using this great logger, with lots of debugging logs defined.
Now I have completed 5 of those components in which I don't needs those debug logs anymore, but I don't want to remove them from the code because I could need them again later.
My question is : is there any "simple" way to define a different log level for each component, if none is provided it should be the global log level.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions