Skip to content

Conversation

vy
Copy link
Member

@vy vy commented Jul 5, 2024

Tipped by @breun, users find it confusing which logger creation mechanism to choose from. This PR is improves the documentation in that direction.

@vy vy requested review from rocketraman, jvz and ppkarwasz July 5, 2024 10:53
@vy vy self-assigned this Jul 5, 2024
Copy link
Member

@rocketraman rocketraman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes, LGTM!

Copy link
Contributor

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if the instance logger vs static logger dispute has a definitive answer.

Instance loggers can use different logger contexts per instance, but their efficacity decreases if there are both instance loggers and static loggers in the application.

So unfortunately static loggers might be the right choice, unless you are writing a multi-application runtime environment and you know what you are doing.

@vy vy merged commit b9b5441 into main Jul 7, 2024
@vy vy deleted the intro-revamp branch July 7, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants