Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = map[Keyword]Kind{ "rate": Rate, "speed": Rate, "size": Size, "bytes": Size, "duration": Duration, "time": Duration, "elapsed": Duration, }
Supported defines how they keywords are translated
Functions ¶
func HumanizeHandler ¶
func HumanizeHandler(h log15.Handler) log15.Handler
HumanizeHandler returns a log15.Handler that humanize the supported context keys to human readable strings
Types ¶
Click to show internal directories.
Click to hide internal directories.