Open predatorx7 opened 1 year ago
Would be like in Python logger getChild method, it would be nice :)
Also it could be done like this without any additional modification
final child = Logger('${log.fullName}.childname');
I agree. That's how I'm creating child loggers right now.
With the above
call
method in theLogger
class, creating child loggers could be more convenient.Example
For a method
foo
, andbar
in classMyClass
:Current way
Proposed way