logrus
logrus copied to clipboard
Add a getter for the Entry.err
Hello!
I want to implement my Formatter and for this I need access to the Entry.err
field.
But, unfortunately, this is not possible now, since this field is private.
I ended up adding a getter for this field:
// Err returns an internal field formatting error.
func (entry *Entry) Err() string {
return entry.err
}
Are there any chances for merge?
@markphelps Still relevant enhancement, not stale. Any updates/thoughts?