1
0
mirror of https://github.com/axllent/mailpit.git synced 2024-12-26 22:56:43 +02:00

UI: Add date to console log

This commit is contained in:
Ralph Slooten 2022-08-02 07:53:32 +12:00
parent 8866720631
commit 8019d3e0e2

View File

@ -28,7 +28,7 @@ func Log() *logrus.Logger {
log.Out = os.Stdout
log.SetFormatter(&logrus.TextFormatter{
FullTimestamp: true,
TimestampFormat: "15:04:05",
TimestampFormat: "2006/01/02 15:04:05",
ForceColors: true,
})
}