feat: log the number of read/written bytes on IMAP stream read error (#6924)

This commit is contained in:
l
2025-07-17 20:01:16 +00:00
committed by GitHub
parent 6df1d165dd
commit a2df29515a
4 changed files with 237 additions and 16 deletions

View File

@@ -4,6 +4,10 @@
use crate::context::Context;
mod stream;
pub(crate) use stream::LoggingStream;
macro_rules! info {
($ctx:expr, $msg:expr) => {
info!($ctx, $msg,)