Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyTime = "time" KeyTimestamp = "timestamp" KeyApp = "app" KeyMsg = "msg" KeyLevel = "level" KeyError = "error" KeyFunc = "func" KeyFile = "file" KeySource = "source" KeyHost = "host" KeyTrace = "trace" ValueZero = iota )
Variables ¶
This section is empty.
Functions ¶
func Fields2LogrusFields ¶
Fields2LogrusFields convert Fields to the logrus.Fields
Types ¶
Click to show internal directories.
Click to hide internal directories.