From dd20401ad6c9c0d0155dade2632bf9eb1128d392 Mon Sep 17 00:00:00 2001 From: zxq5 Date: Wed, 4 Feb 2026 01:57:40 +0000 Subject: [PATCH] added basic logging to common TODO: improve logging --- common/src/logging.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 common/src/logging.rs diff --git a/common/src/logging.rs b/common/src/logging.rs new file mode 100644 index 0000000..e14cb68 --- /dev/null +++ b/common/src/logging.rs @@ -0,0 +1,4 @@ +// TODO: Use an actual logging or tracing library for pretty (scoped) output. +pub fn log(message: &str) { + println!("\x1b[32mINFO:\x1b[0m {message}"); +}