Versions in this module Expand all Collapse all v0 v0.0.6 Feb 19, 2024 Changes in this version + type Level int8 + const LevelError + const LevelFatal + const LevelInfo + const LevelOff + func (l Level) String() string + type Logger struct + Verbose bool + func NewLogger(out io.Writer, minLevel Level) *Logger + func (l *Logger) PrintError(err error, properties map[string]string) + func (l *Logger) PrintFatal(err error, properties map[string]string) + func (l *Logger) PrintInfo(message string, properties map[string]string) + func (l *Logger) TryLog(message string, properties map[string]string, level Level) + func (l *Logger) Write(message []byte) (n int, err error)