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}"); +}