mirror of
https://github.com/stashapp/stash.git
synced 2026-01-01 13:15:12 +01:00
12 lines
241 B
Go
12 lines
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
|
|
}
|