runique 2.1.1-alpha.2

A Django-inspired web framework for Rust with ORM, templates, and comprehensive security middleware
Documentation
1
2
3
4
5
6
7
8
9
//! Tracing subscriber initialization — used by the CLI; web apps use `RuniqueLog`.
use crate::utils::runique_log::RuniqueLog;

/// Initializes the tracing subscriber with default parameters.
/// Used by the Runique CLI — web applications don't need to call it
/// (the builder does it automatically via `RuniqueLog::init_subscriber`).
pub fn init_logging() {
    RuniqueLog::default().init_subscriber();
}