Versions in this module Expand all Collapse all v1 v1.13.0 Dec 24, 2023 v1.11.1 Dec 26, 2023 Changes in this version + func Auth(netAddr net.Addr, user string, successful bool) + func Listening(a string) + func QueueLoop(id, from string, nextDelay time.Duration) + func Queued(netAddr net.Addr, from string, to []string, id string) + func Rejected(netAddr net.Addr, from string, to []string, err string) + func SendAttempt(id, from, to string, err error, permanent bool) + type Logger struct + var Default *Logger = New(nopCloser{ ... }) + func New(w io.WriteCloser) *Logger + func NewFile(path string) (*Logger, error) + func NewSyslog() (*Logger, error) + func (l *Logger) Auth(netAddr net.Addr, user string, successful bool) + func (l *Logger) Listening(a string) + func (l *Logger) QueueLoop(id, from string, nextDelay time.Duration) + func (l *Logger) Queued(netAddr net.Addr, from string, to []string, id string) + func (l *Logger) Rejected(netAddr net.Addr, from string, to []string, err string) + func (l *Logger) Reopen() error + func (l *Logger) SendAttempt(id, from, to string, err error, permanent bool)