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
//! Initializing a multithreaded logger in Rust.
//!
//! This library provides functionality to initialize a multithreaded logger with flexible configuration options.
//! It supports both file I/O logging and logging to stdout with ANSI color support.
pub use tracing;
use io;
use DefaultGuard;
use WorkerGuard;
/// Multithread init logger.
///
/// # Features
/// - only console output.
/// - Level: TRACE
/// - output file: None
///
/// # Examples
/// ```
/// fn main() -> std::io::Result<()> {
/// let _guard = quick_tracing::init()?;
/// tracing::info!("Hey!");
/// Ok(())
/// }
/// ```
///
/// # Returns
/// Guards
/// - If this variable is dropped, the logger stops.
pub use ;