Documentation
¶
Overview ¶
Package log implements a convenient wrapper for the Go stdlib log.Logger that can used in the different go-mail-middleware modules
Index ¶
- type Level
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(f string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(f string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(f string, v ...interface{})
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(f string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger represents the main Logger type
func (*Logger) Debug ¶
func (l *Logger) Debug(v ...interface{})
Debug performs a print() on the debug logger
func (*Logger) Error ¶
func (l *Logger) Error(v ...interface{})
Error performs a print() on the error logger
func (*Logger) Info ¶
func (l *Logger) Info(v ...interface{})
Info performs a print() on the info logger
Click to show internal directories.
Click to hide internal directories.