mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Reorg
This commit is contained in:
12
pkg/logger/progress_formatter.go
Normal file
12
pkg/logger/progress_formatter.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user