You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have independent debug streams and alternatively skip or mask AUTH command details.
Probably it's also worth adding an error handler inside the WriteResponse method, e.g. ResponseLog but not in server, but connection scope to have an ability to specify the requestID/connectionID.
The text was updated successfully, but these errors were encountered:
Sorry, but I'll close this as out-of-scope. The DebugWriter functionality was never meant to be a way for library users to add more functionality, it's purely a debugging tool.
Currently the debug mode writes all the input and output into one stream:
go-smtp/conn.go
Lines 84 to 85 in 26eb481
I'd like to have independent debug streams and alternatively skip or mask
AUTH
command details.Probably it's also worth adding an error handler inside the
WriteResponse
method, e.g.ResponseLog
but not in server, but connection scope to have an ability to specify the requestID/connectionID.The text was updated successfully, but these errors were encountered: