go-mail/smtp
Winni Neessen 1c5c1e318c
#136: Refactor logging for clearer messaging direction
The logging system in the smtp.go and log package has been refactored. A new custom log type `Log` was introduced, that includes the message direction, format and arguments. The `Logger` interface and the `Stdlog` implementation were modified to accept this new type. This change provides a clearer understanding of message direction inside logs, allowing for easier debugging and reduced complexity. This change does not affect features or disrupt user functionality. Additionally, it allows for custom implementations of the log.Logger interface to without being forced to use the C --> S/C <-- S direction logging.
2023-08-02 11:43:45 +02:00
..
auth.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
auth_cram_md5.go Re-introduce backwards compatibility with Go 1.17 and Go 1.18 2023-01-13 17:34:41 +01:00
auth_cram_md5_118.go Preparation for the v0.4.0 release: 2023-05-31 09:34:45 +02:00
auth_login.go Switched copyright header from me to "The go-mail Authors" 2023-01-15 16:14:19 +01:00
auth_plain.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
auth_xoauth2.go OAuth2: remove variants 2023-05-29 18:19:01 +02:00
example_test.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
LICENSE Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
smtp.go #136: Refactor logging for clearer messaging direction 2023-08-02 11:43:45 +02:00
smtp_ehlo.go Re-introduce backwards compatibility with Go 1.17 and Go 1.18 2023-01-13 17:34:41 +01:00
smtp_ehlo_117.go Preparation for the v0.4.0 release: 2023-05-31 09:34:45 +02:00
smtp_test.go #136: Refactor logging for clearer messaging direction 2023-08-02 11:43:45 +02:00