mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
12 lines
No EOL
241 B
Go
12 lines
No EOL
241 B
Go
package logger
|
|
|
|
import (
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
type ProgressFormatter struct {}
|
|
|
|
func (f *ProgressFormatter) Format(entry *logrus.Entry) ([]byte, error) {
|
|
msg := []byte("Processing --> " + entry.Message + "\r")
|
|
return msg, nil
|
|
} |