Skip to content

Commit 0df70c8

Browse files
fix(docs): log import
Signed-off-by: Anton Engelhardt <[email protected]>
1 parent 41c0119 commit 0df70c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub trait Context {
8383
/// use proxy_wasm::traits::*;
8484
/// use proxy_wasm::types::*;
8585
/// use std::time::Duration;
86-
/// use log::warn;
86+
/// use log::{debug, warn};
8787
///
8888
/// struct MyPlugin;
8989
///
@@ -113,7 +113,7 @@ pub trait Context {
113113
/// let headers = self.get_http_call_response_headers();
114114
/// let body = self.get_http_call_response_body(0, body_size);
115115
///
116-
/// info!("Received response headers: {:?}", headers);
116+
/// debug!("Received response headers: {:?}", headers);
117117
///
118118
/// // Do something with the response
119119
/// }

0 commit comments

Comments
 (0)