proxmox-perl-rs/pve-rs
Lukas Wagner c7c3940718 initialize logging when shared library is loaded
This commit sets up logging by hooking into module loading/bootstraping
process to call a new `init` function exported by the `Proxmox::Lib::{PVE,PMG}`
module, which initializes `env_logger` with its default settings.

This allows us to use `log::*` macros from Rust code.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-03-07 12:02:02 +01:00
..
debian update to nix 0.26 2023-01-05 13:16:26 +01:00
src initialize logging when shared library is loaded 2023-03-07 12:02:02 +01:00
test drop comment about running tests during build 2022-11-15 13:45:58 +01:00
Cargo.toml initialize logging when shared library is loaded 2023-03-07 12:02:02 +01:00
Makefile pve: build test stub of Proxmox::Lib::PVE for tests 2022-11-15 13:42:18 +01:00