mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46:44 +00:00
GODT-947 Force colors in logs
This commit is contained in:
@ -42,6 +42,7 @@ const (
|
|||||||
|
|
||||||
func Init(logsPath string) error {
|
func Init(logsPath string) error {
|
||||||
logrus.SetFormatter(&logrus.TextFormatter{
|
logrus.SetFormatter(&logrus.TextFormatter{
|
||||||
|
ForceColors: true,
|
||||||
FullTimestamp: true,
|
FullTimestamp: true,
|
||||||
TimestampFormat: time.StampMilli,
|
TimestampFormat: time.StampMilli,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user