summaryrefslogtreecommitdiff
path: root/src/console.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/console.rs')
-rw-r--r--src/console.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console.rs b/src/console.rs
index 660fb25..756bf56 100644
--- a/src/console.rs
+++ b/src/console.rs
@@ -48,7 +48,7 @@ pub async fn log(ip: IpAddr, method: Method, uri: Uri, path: Option<String>, bod
let path = path.unwrap_or_default();
let body = body.unwrap_or_default();
- println!("{} {} {}{} {}", &ip, &method, &path, &uri, &body);
+ tracing::info!("{} {} {}{} {}", &ip, &method, &path, &uri, &body);
let message = LogMessage {
ip: ip,