mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
Fix log direction string
This commit is contained in:
parent
e36511e90e
commit
ccbab59207
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ func (c *Client) SetDebugLog(v bool) {
|
|||
// debugLog checks if the debug flag is set and if so logs the provided message to StdErr
|
||||
func (c *Client) debugLog(d logDirection, f string, a ...interface{}) {
|
||||
if c.debug {
|
||||
p := "S <-- C:"
|
||||
p := "C <-- S:"
|
||||
if d == logOut {
|
||||
p = "C --> S:"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue