Skip to content

Commit 1fa6560

Browse files
committed
🎨 add inline comments to indicate code sections
1 parent dc41774 commit 1fa6560

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/logger.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ use chrono::Utc;
2121
use serde_json::Value;
2222
use tracing::{debug, error, info, warn};
2323

24+
// --- Setup ---
2425
#[cfg_attr(coverage, coverage(off))]
2526
#[inline(always)]
2627
fn ensure_initialized() {
@@ -199,6 +200,7 @@ pub fn debug_with(message: &str, data: impl Into<Value>) {
199200
debug!(%timestamp, message = %message, data = ?data.into());
200201
}
201202

203+
// --- Unit Tests ---
202204
#[cfg(test)]
203205
mod tests {
204206
use super::*;

0 commit comments

Comments
 (0)