refactor: simplify code, better organize it, and comment it
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
use tracing::Level;
|
||||
use tracing_subscriber::FmtSubscriber;
|
||||
|
||||
/// Initialize logging for the project.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the logger fails to initialize.
|
||||
pub fn setup_logging() {
|
||||
let subscriber = FmtSubscriber::builder()
|
||||
.with_max_level(Level::INFO)
|
||||
|
||||
Reference in New Issue
Block a user