inconshreveable / log15

Structured, composable logging for Go
https://godoc.org/github.com/inconshreveable/log15
Other
1.1k stars 144 forks source link

logger: fix typo in log level to string function #140

Closed fho closed 6 years ago

fho commented 7 years ago

It should be "error" not "eror".

I'm not sure if it's really a typo or intended to keep the levels 4-letters long. If that's the case I would prefer to use a 3-letter "err" instead of using a wrong spelling.

kevinburke commented 6 years ago

I think the intent here is to keep the lines as 4 chars long, plus this would break existing clients :(