mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Moved everything out of internal
This commit is contained in:
12
logger/progress_formatter.go
Normal file
12
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