pub fn info_with(message: &str, data: impl Into<Value>)Expand description
Logs a message at the INFO level with additional structured metadata.
This function accepts a message and a second parameter representing structured data. The data is serialized and logged as part of the event. A UTC timestamp is automatically injected.
ยงExample
use tincre_logger::logger;
use serde_json::json;
logger::info_with("User signed in", json!({ "user_id": 42, "method": "oauth" }));