Documentation ¶
Overview ¶
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RecentLogs []*zapcore.Entry
)
Functions ¶
func CreateTestLogger ¶
Types ¶
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.