aphistic / gomol

Gomol is a library for structured, multiple-output logging for Go with extensible logging outputs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a utility method to get a log level from a string

aphistic opened this issue · comments

In most cases people won't want to write their own methods to translate from a string to a concrete log level, so make a function that does it for them for standard values.

I'm dumb and don't even look at my own API... This already exists in gomol.ToLogLevel() ... ><