mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-28 06:56:06 +00:00
UI: Add date to console log
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user