Open
Description
Is your feature request related to a problem? Please describe.
To improve logs readability, the Yoga Logger instance should have a createChild
method allowing to make sub loggers, with a prefix for example. Each plugins could use this to better identify where does a log come from and enable/disable logs on a plugin bases.
Describe the solution you'd like
Add a creatChild
method to the YogaLogger interface.
Describe alternatives you've considered
Today, each plugins is doing its own implementation of this "sub logger" feature, which prevent new features such as fine grained control of the logging level.
Additional context
This already exists in the Mesh Logger. But this feature should be moved to Yoga instead, it's not specific to Mesh.
Metadata
Metadata
Assignees
Labels
No labels