Skip to content

Comments

Early logging initialization#390

Open
ya-mouse wants to merge 1 commit intogoogle:mainfrom
ya-mouse:early-logging
Open

Early logging initialization#390
ya-mouse wants to merge 1 commit intogoogle:mainfrom
ya-mouse:early-logging

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
Collaborator

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