potree-auth 0.1.0

Authentication and project management for `potree` point clouds.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use tracing_subscriber::fmt::format::FmtSpan;

/// Initializes tracing subscribers for the application.
///
/// Currently just logs to the std out.
pub fn init_tracing() {
    tracing_subscriber::fmt()
        .pretty()
        .with_thread_names(true)
        .with_max_level(tracing::Level::DEBUG)
        .with_span_events(FmtSpan::ENTER)
        .init();
}