Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTimeFormat = "2006-01-02T15:04:05.000Z0700"
DefaultTimeFormat unless specified by options
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Log(level Level, args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Debug(args ...interface{}) Error(args ...interface{}) WithFields(args ...interface{}) Logger Named(name string) Logger IsDebug() bool IsInfo() bool IsWarn() bool IsError() bool }
Logger defines our methods
type MessageWriter ¶
MessageWriter interface for writing messages
Source Files ¶
Click to show internal directories.
Click to hide internal directories.