Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ import (
"time"
)

// TimeFormat is the format that times will be added in.
//
// TimeFormat defaults to unix time.
var TimeFormat = TimeFormatUnix

// TimeFormatConsole is the default format for the console formatter.
//
// TimeFormatConsole defaults to kitchen time.
var TimeFormatConsole = time.Kitchen

// TimeFormat is the format that times will be added in.
var TimeFormat = ""

// Time formats.
const (
TimeFormatUnix = ""
Expand Down