go.mod: update logrus to v1.8.1
Newer versions contain fixes for recent Go versions, and this removes the dependency on github.com/konsorten/go-windows-terminal-sequences Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
06c8d441f8
commit
226ad1e639
191 changed files with 6773 additions and 1869 deletions
2
vendor/github.com/sirupsen/logrus/README.md
generated
vendored
2
vendor/github.com/sirupsen/logrus/README.md
generated
vendored
|
@ -402,7 +402,7 @@ func (f *MyJSONFormatter) Format(entry *Entry) ([]byte, error) {
|
|||
// source of the official loggers.
|
||||
serialized, err := json.Marshal(entry.Data)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err)
|
||||
return nil, fmt.Errorf("Failed to marshal fields to JSON, %w", err)
|
||||
}
|
||||
return append(serialized, '\n'), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue