Skip to content

Commit

Permalink
fix(docs): log import
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Engelhardt <[email protected]>
  • Loading branch information
antonengelhardt committed Aug 13, 2024
1 parent 41c0119 commit 0df70c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub trait Context {
/// use proxy_wasm::traits::*;
/// use proxy_wasm::types::*;
/// use std::time::Duration;
/// use log::warn;
/// use log::{debug, warn};
///
/// struct MyPlugin;
///
Expand Down Expand Up @@ -113,7 +113,7 @@ pub trait Context {
/// let headers = self.get_http_call_response_headers();
/// let body = self.get_http_call_response_body(0, body_size);
///
/// info!("Received response headers: {:?}", headers);
/// debug!("Received response headers: {:?}", headers);
///
/// // Do something with the response
/// }
Expand Down

0 comments on commit 0df70c8

Please sign in to comment.