wasi-common: switch all logs from log to tracing
tracing is already the dep that wiggle uses. I used tracing structured arguments wherever I could, but I skipped over it in all of the snapshot_0 code, because I'm going to delete that code and replace it with wiggle-based stuff real soon.
This commit is contained in:
@@ -87,10 +87,10 @@ impl Entry {
|
||||
if this_rights.contains(rights) {
|
||||
Ok(())
|
||||
} else {
|
||||
log::trace!(
|
||||
" | validate_rights failed: required rights = {}; actual rights = {}",
|
||||
rights,
|
||||
this_rights,
|
||||
tracing::trace!(
|
||||
required = tracing::field::display(rights),
|
||||
actual = tracing::field::display(this_rights),
|
||||
"validate_rights failed",
|
||||
);
|
||||
Err(Errno::Notcapable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user