Adding fetch task status. Changed how logrus is used to be able to be passed down to gorealis.
This commit is contained in:
parent
2abd691a1c
commit
4551231644
10 changed files with 72 additions and 29 deletions
|
@ -4,9 +4,9 @@ import (
|
|||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/paypal/gorealis/v2/gen-go/apache/aurora"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func toJSON(v interface{}) string {
|
||||
|
@ -25,7 +25,7 @@ func getLoggingLevels() string {
|
|||
|
||||
var buffer bytes.Buffer
|
||||
|
||||
for _, level := range log.AllLevels {
|
||||
for _, level := range logrus.AllLevels {
|
||||
buffer.WriteString(level.String())
|
||||
buffer.WriteString(" ")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue