diff --git a/logger.go b/logger.go index 1f2c921..5bc3842 100644 --- a/logger.go +++ b/logger.go @@ -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 = ""