Print log with timestamp to stdout
(msg: &str)
| 237 | |
| 238 | /// Print log with timestamp to stdout |
| 239 | fn cli_log(msg: &str) { |
| 240 | let now = chrono::Local::now().format("%Y-%m-%d %H:%M:%S"); |
| 241 | println!("[{}] {}", now, msg); |
| 242 | } |
no outgoing calls
no test coverage detected