Skip to content

[error] Support fmt.Formatter interface #62

Open
@at15

Description

I am used to log.Warnf("err %v", err), but since we didn't implement formatter interface, the result is just struct ... it's quite a pain to call err.Error everytime

type Formatter interface {
        Format(f State, c rune)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions