Documentation ¶ Index ¶ type Level func (l Level) String() string type Logger func New(out io.Writer, minLevel Level) *Logger func (l *Logger) Error(err error, properties map[string]string) func (l *Logger) Fatal(err error, properties map[string]string) func (l *Logger) Info(message string, properties map[string]string) func (l *Logger) Write(message []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Level ¶ type Level int8 const ( LevelInfo Level = iota LevelError LevelFatal LevelOff ) func (Level) String ¶ func (l Level) String() string type Logger ¶ type Logger struct { // contains filtered or unexported fields } func New ¶ func New(out io.Writer, minLevel Level) *Logger func (*Logger) Error ¶ func (l *Logger) Error(err error, properties map[string]string) func (*Logger) Fatal ¶ func (l *Logger) Fatal(err error, properties map[string]string) func (*Logger) Info ¶ func (l *Logger) Info(message string, properties map[string]string) func (*Logger) Write ¶ func (l *Logger) Write(message []byte) (n int, err error) Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.