1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// lib.rs
// Copyright © 2024 RustLogs (RLG). All rights reserved.
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
//! # RustLogs (RLG)
//!
//! RustLogs (RLG) is a robust and flexible logging library for Rust applications.
//! It provides a simple, readable output format and offers various features to
//! enhance your application's logging capabilities.
//!
//! ## Features
//!
//! - Multiple log levels: `ALL`, `DEBUG`, `DISABLED`, `ERROR`, `FATAL`, `INFO`, `NONE`, `TRACE`, `VERBOSE`, and `WARN`.
//! - Structured log formats for easy parsing and filtering.
//! - Support for multiple output formats including:
//! - Common Event Format (CEF)
//! - Extended Log Format (ELF)
//! - Graylog Extended Log Format (GELF)
//! - JavaScript Object Notation (JSON)
//! - NCSA Common Log Format (CLF)
//! - W3C Extended Log File Format (W3C)
//! - Syslog Format
//! - Apache Access Log Format
//! - Logstash Format
//! - Log4j XML Format
//! - NDJSON (Newline Delimited JSON)
//! - Configurable logging destinations (file, stdout, network).
//! - Log rotation support.
//! - Asynchronous logging for improved performance.
// Version information
/// The current version of the RustLogs crate.
pub const VERSION: &str = env!;
// Re-export commonly used items
pub use Config;
pub use ;
pub use Log;
pub use LogFormat;
pub use LogLevel;
/// Configuration module for RustLogs.
/// Core logging functionality.
/// Log format definitions and implementations.
/// Log level definitions and implementations.
/// Macros for convenient logging.
/// Error handling module
pub use ;
/// Utility functions module
pub use ;