vikunja/pkg/mail
Peter H0ffmann ad04d302af
continuous-integration/drone/push Build is passing Details
chore: reverse the coupling of module log and config (#1606)
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
2023-10-03 09:28:28 +00:00
..
mail.go chore: reverse the coupling of module log and config (#1606) 2023-10-03 09:28:28 +00:00
send_mail.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
testing.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00