Skip to content

Bug: LogFormatter not forwarded to child loggers #1264

Closed
@ghdoergeloh

Description

@ghdoergeloh

Use case

I found out, that I need to pass the LogFormatter to every child. It would be nice to forward the parents LogFormatter as the default to a child logger (via createChild) if no other LogFormatter was provided in that method.

Solution/User Experience

So if logger.createChild({}) is called without logFormatter it could just get the same instance, the parent is using.

Alternative solutions

No response

Acknowledgment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompletedThis item is complete and has been merged/shippedloggerThis item relates to the Logger Utility

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions