proxmox-perl-rs/Proxmox/Lib
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
..
Common.pm common: fix base for PMG 2022-07-06 12:34:41 +02:00
template.pm initialize logging when shared library is loaded 2023-03-07 12:02:02 +01:00