Allow configuration of timestamp layout
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package logrus
|
||||
|
||||
import "time"
|
||||
|
||||
const DefaultTimestampFormat = time.RFC3339
|
||||
|
||||
// The Formatter interface is used to implement a custom Formatter. It takes an
|
||||
// `Entry`. It exposes all the fields, including the default ones:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user