apex / log

Structured logging package for Go.
MIT License
1.37k stars 112 forks source link

Ignore nil errors in WithError #67

Closed blockloop closed 4 years ago

blockloop commented 6 years ago

Would you accept a PR that adds

if err == nil {
    return e
}

To this line? pkg/errors and other log implementations have this functionality as well.