rlg 0.0.10

A near-lock-free structured logging library for Rust. Sub-microsecond ingestion via a 65k-slot ring buffer (LMAX Disruptor pattern), deferred formatting, and native OS sinks (`os_log` on macOS via `syslog(3)`, `journald` on Linux). 14 output formats including JSON, MCP, OTLP, ECS, GELF, CEF, and Logfmt.
Documentation
// Copyright © 2024-2026 RustLogs (RLG). All rights reserved.
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
// See LICENSE-APACHE.md and LICENSE-MIT.md in the repository root for full license information.

#![allow(deprecated)]

//! # RustLogs (RLG) Example Entry Point
//!
//! This file serves as an entry point for running all the RustLogs (RLG) examples,
//! demonstrating logging levels, formats, macros, and library functionality.

mod example_lib;
mod example_log_format;
mod example_log_level;
mod example_macros;

/// Entry point to run all RustLogs examples.
///
/// This function calls all the individual examples for log levels, log formats, macros, and library functionality.
fn main() {
    println!("🦀 Running RustLogs (RLG) Examples 🦀\n");

    let _ = example_log_format::main();
    example_log_level::main().expect("Log level examples failed");
    example_macros::main();
    example_lib::main();

    println!("\n🎉 All RustLogs examples completed successfully!");
}