Skip to content

Simplify the logic to initialise logging once#71

Merged
nresare merged 1 commit intomainfrom
simplify_the_log_init_once
Sep 2, 2025
Merged

Simplify the logic to initialise logging once#71
nresare merged 1 commit intomainfrom
simplify_the_log_init_once

Conversation

@nresare
Copy link
Owner

@nresare nresare commented Sep 2, 2025

It seems a godo trad-off to simply use a mutex for the logging init code. We don't need a fast-path, grabbing a mutex is fine, the upside is less complexity

It seems a godo trad-off to simply use a mutex for the
logging init code. We don't need a fast-path, grabbing a mutex
is fine, the upside is less complexity
@nresare nresare merged commit 5323180 into main Sep 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant