Implement structured logs using logrus

This was based loosely on an earlier implementation by
Danny Kopping <danny.kopping@grafana.com>
This commit is contained in:
Jonathon Reinhart
2021-03-12 23:38:29 -05:00
parent b36ed8eddb
commit 34cb47c364
6 changed files with 180 additions and 37 deletions

2
go.mod
View File

@@ -2,6 +2,8 @@ module github.com/decke/smtprelay
require (
github.com/chrj/smtpd v0.2.0
github.com/google/uuid v1.2.0
github.com/sirupsen/logrus v1.7.0
github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
)