Documentation ¶ Index ¶ Constants type Logger func NewLogger(env string) *Logger func (l *Logger) Debug(msg, info string) func (l *Logger) Error(msg string, err error) func (l *Logger) Fatal(msg string, err error) func (l *Logger) Info(msg, info string) func (l *Logger) Sync() Constants ¶ View Source const ( LevelDebug = "debug" LevelInfo = "info" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger struct { // contains filtered or unexported fields } func NewLogger ¶ func NewLogger(env string) *Logger func (*Logger) Debug ¶ added in v0.0.8 func (l *Logger) Debug(msg, info string) func (*Logger) Error ¶ func (l *Logger) Error(msg string, err error) func (*Logger) Fatal ¶ func (l *Logger) Fatal(msg string, err error) func (*Logger) Info ¶ func (l *Logger) Info(msg, info string) func (*Logger) Sync ¶ func (l *Logger) Sync() Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.