Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RecentLogs []*zapcore.Entry
)
Functions ¶
func CreateTestLogger ¶
Types ¶
type ListenerFunc ¶ added in v1.2.16
type Timer ¶ added in v0.2.20
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.