Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RecentLogs []*zapcore.Entry
)
Functions ¶
func CreateTestLogger ¶
Types ¶
type ListenerFunc ¶ added in v0.4.4
type Timer ¶ added in v0.2.1
type Timer struct { Key string `json:"key"` Laps []int `json:"laps,omitempty"` Logs []string `json:"logs,omitempty"` Log util.Logger `json:"-"` Timer *util.Timer `json:"-"` // contains filtered or unexported fields }
Timer lets you measure laps. It is not safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.