Feat: Baut eine eigene Log-Funktion.

This commit is contained in:
2025-08-14 15:22:54 +02:00
parent 7eae08ac11
commit 1eb72f9943
3 changed files with 83 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
use crate::log::LogLevel;
mod log;
fn main() {
println!("Hello, world!");
log::log("main", "Hello, world!", LogLevel::Error);
log::log("main", "Hello, world!", LogLevel::Warn);
log::log("main", "Hello, world!", LogLevel::Info);
log::log("main", "Hello, world!", LogLevel::Debug);
}