mirror of
https://github.com/katanemo/plano.git
synced 2026-05-10 08:12:48 +02:00
Improve logging (#209)
* improve logging * fix int tests * better * fix more logs * fix more * fix int
This commit is contained in:
parent
2f374df034
commit
ea76d85b43
6 changed files with 319 additions and 309 deletions
|
|
@ -3,7 +3,7 @@ use crate::{
|
|||
stats::{Gauge, IncrementingMetric},
|
||||
};
|
||||
use derivative::Derivative;
|
||||
use log::debug;
|
||||
use log::{debug, trace};
|
||||
use proxy_wasm::{traits::Context, types::Status};
|
||||
use serde::Serialize;
|
||||
use std::{cell::RefCell, collections::HashMap, fmt::Debug, time::Duration};
|
||||
|
|
@ -48,9 +48,10 @@ pub trait Client: Context {
|
|||
call_args: CallArgs,
|
||||
call_context: Self::CallContext,
|
||||
) -> Result<u32, ClientError> {
|
||||
debug!(
|
||||
trace!(
|
||||
"dispatching http call with args={:?} context={:?}",
|
||||
call_args, call_context
|
||||
call_args,
|
||||
call_context
|
||||
);
|
||||
|
||||
match self.dispatch_http_call(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue