From 4be3b06b618d21858745979cf1bb1c277a655b9c Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 18 Aug 2020 10:55:42 -0700 Subject: [PATCH] switch from log::debug to tracing::debug this duplicates work done in #2139 on code that moves from where the switch took place in that PR. --- crates/wasi-common/src/wasi.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/wasi-common/src/wasi.rs b/crates/wasi-common/src/wasi.rs index 045a118606..3124dff225 100644 --- a/crates/wasi-common/src/wasi.rs +++ b/crates/wasi-common/src/wasi.rs @@ -271,12 +271,12 @@ impl From for Errno { winerror::ERROR_DIRECTORY => Self::Notdir, winerror::ERROR_ALREADY_EXISTS => Self::Exist, x => { - log::debug!("winerror: unknown error value: {}", x); + tracing::debug!("winerror: unknown error value: {}", x); Self::Io } }, None => { - log::debug!("Other I/O error: {}", err); + tracing::debug!("Other I/O error: {}", err); Self::Io } } @@ -365,12 +365,12 @@ impl From for Errno { libc::ENOTRECOVERABLE => Self::Notrecoverable, libc::ENOTSUP => Self::Notsup, x => { - log::debug!("Unknown errno value: {}", x); + tracing::debug!("Unknown errno value: {}", x); Self::Io } }, None => { - log::debug!("Other I/O error: {}", err); + tracing::debug!("Other I/O error: {}", err); Self::Io } }