mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-09 23:42:55 +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
|
// 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{}) {
|
func (c *Client) debugLog(d logDirection, f string, a ...interface{}) {
|
||||||
if c.debug {
|
if c.debug {
|
||||||
p := "S <-- C:"
|
p := "C <-- S:"
|
||||||
if d == logOut {
|
if d == logOut {
|
||||||
p = "C --> S:"
|
p = "C --> S:"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue