native-pkcs11
native-pkcs11 copied to clipboard
Early logging initialization
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(...).
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.