Skip to content

Early logging initialization #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ya-mouse
Copy link

In this PR the logging function moved away from C_Initialize under ctor when library is being loaded. This allows to start logging custom backend initialization. Also the log init function reworked to remove log lines duplication by using tracing::subscriber::set_global_default(...).

@brandonweeks
Copy link
Member

I need to check on the availability of ctor in our internal package repository. I seem to recall an issue using that crate during initial development.

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.

2 participants