Files
go-imap/logger.go
T
ferhat elmas 716f381ea3 Make ErrorLog a small interface
* which enables easier override for custom behavior
 * fixes #74
2016-12-01 08:27:54 +01:00

9 lines
242 B
Go

package imap
// Logger is the behaviour used by server/client to
// report errors for accepting connections and unexpected behavior from handlers.
type Logger interface {
Printf(format string, v ...interface{})
Println(v ...interface{})
}