p2panda 0.6.1

Out-of-the-box p2panda Node API for application developers
Documentation
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: MIT OR Apache-2.0

pub fn setup_logging() {
    if std::env::var("RUST_LOG").is_ok() {
        let _ = tracing_subscriber::fmt()
            .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
            .try_init();
    }
}