1package imap 2 3// Logger is the behaviour used by server/client to 4// report errors for accepting connections and unexpected behavior from handlers. 5type Logger interface { 6 Printf(format string, v ...interface{}) 7 Println(v ...interface{}) 8} 9