go-mail/log
Winni Neessen 7d69ec8faa
Replace hardcoded '2' in Output with const CallDepth
A `const CallDepth` placeholder has been introduced and has been set to 2. This is used as an argument in Output method calls in various log levels like debug, info, warn, and error in place of previously hardcoded '2'. This change improves the readability of the code. The '2' represented the call depth of log.Logger's Output method, which wasn't immediately clear with the hardcoded value.
2023-07-24 15:27:39 +02:00
..
log.go Implement Logger interface 2023-02-03 10:19:26 +01:00
stdlog.go Replace hardcoded '2' in Output with const CallDepth 2023-07-24 15:27:39 +02:00
stdlog_test.go Add REUSE header 2023-02-03 10:21:27 +01:00