Minor refactoring/formatting fixes

This commit is contained in:
Juno Takano 2026-01-03 16:01:56 -03:00
commit f9bff6acab
3 changed files with 8 additions and 8 deletions

View file

@ -1,13 +1,10 @@
#[allow(clippy::print_stderr)]
pub fn elog(function: &str, message: &str) {
eprintln!("{:?} [{function}] {message}", crate::ONSET.elapsed());
}
// Paths in this slice suppress logging if found in the stack trace
pub const SKIP_PATHS: &[&str] = &[
"en::types::Config::parse_text"
];
pub const SKIP_PATHS: &[&str] = &["en::types::Config::parse_text"];
#[macro_export]
macro_rules! log {