feat(lib): switch from log to tracing (#475)
This commit is contained in:
@@ -1129,12 +1129,12 @@ where
|
||||
mut io: T,
|
||||
builder: Builder,
|
||||
) -> Result<(SendRequest<B>, Connection<T, B>), crate::Error> {
|
||||
log::debug!("binding client connection");
|
||||
tracing::debug!("binding client connection");
|
||||
|
||||
let msg: &'static [u8] = b"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n";
|
||||
io.write_all(msg).await.map_err(crate::Error::from_io)?;
|
||||
|
||||
log::debug!("client connection bound");
|
||||
tracing::debug!("client connection bound");
|
||||
|
||||
// Create the codec
|
||||
let mut codec = Codec::new(io);
|
||||
|
||||
Reference in New Issue
Block a user