mirror of
https://github.com/axllent/mailpit.git
synced 2024-12-28 23:06:43 +02:00
UI: Add date to console log
This commit is contained in:
parent
8866720631
commit
8019d3e0e2
@ -28,7 +28,7 @@ func Log() *logrus.Logger {
|
|||||||
log.Out = os.Stdout
|
log.Out = os.Stdout
|
||||||
log.SetFormatter(&logrus.TextFormatter{
|
log.SetFormatter(&logrus.TextFormatter{
|
||||||
FullTimestamp: true,
|
FullTimestamp: true,
|
||||||
TimestampFormat: "15:04:05",
|
TimestampFormat: "2006/01/02 15:04:05",
|
||||||
ForceColors: true,
|
ForceColors: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user