go-mail/log
Winni Neessen 77d9e3d02a
#142 Add structured JSON logger and associated tests
This commit introduces a new type 'JSONlog' that satisfies the Logger interface for structured JSON logging. This includes new methods 'Debugf', 'Infof', 'Warnf' and 'Errorf' to log messages at different levels and an associated test 'jsonlog_test.go' to ensure correct functionality. This enhances the logging functionality by providing clarity in logs and eases debugging process.
2023-08-23 11:16:23 +02:00
..
jsonlog.go #142 Add structured JSON logger and associated tests 2023-08-23 11:16:23 +02:00
jsonlog_test.go #142 Add structured JSON logger and associated tests 2023-08-23 11:16:23 +02:00
log.go #142 Add structured JSON logger and associated tests 2023-08-23 11:16:23 +02:00
stdlog.go Refactor log level and direction function to separate file 2023-08-15 11:59:16 +02:00
stdlog_test.go #136: Refactor logging for clearer messaging direction 2023-08-02 11:43:45 +02:00