custom-tracing-logger 0.1.3

A minimal JSON logger for Rust using the tracing ecosystem with one-line initialization
Documentation
//! Simple usage example showing basic logging
//! Run with: cargo run --example simple_usage

use tracing::{debug, error, info, warn};

fn main() {
    // Initialize the logger - that's it!
    custom_tracing_logger::init();

    // Basic logging
    info!("Application started");
    debug!("This debug message shows with RUST_LOG=debug");

    // Structured logging with fields
    info!(
        user_id = 123,
        action = "login",
        ip = "192.168.1.1",
        "User logged in successfully"
    );

    warn!(
        retry_count = 3,
        timeout_ms = 5000,
        "Operation will be retried"
    );

    error!(
        error_code = "DB_CONNECTION_FAILED",
        database = "users_db",
        "Failed to connect to database"
    );

    info!("Application finished");
}