1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use tracing::info; pub fn _access_log(_attrs: Option<u32>) { info!( duration = "1ms", log = "access.log", path = "/", host = "example.com", headers = "{}", method = "GET", backend = "host:port", status = 200, "Access log with attrs" ); }