debug-log
All checks were successful
deploy / deploy (push) Successful in 1m58s

This commit is contained in:
Untone 2024-12-11 22:34:58 +03:00
parent c125c89fbf
commit df9d99c5fe

View File

@ -13,6 +13,7 @@ type LogTextFormatter struct {
}
func (u LogTextFormatter) Format(e *logrus.Entry) ([]byte, error) {
fmt.Sprintf("%r", e)
level := strings.ToUpper(e.Level.String())
message := e.Message
parts := strings.SplitN(message, " +0000]", 2)