refactor: simplify code, better organize it, and comment it

This commit is contained in:
phundrak committed 2023-11-25 23:33:06 +01:00
1 parent 75cd5dd7cb
commit d6b208963d
11 files changed
+303 -130

No files matched your search

+5
View File
@@ -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)