Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debugf(msg string, args ...interface{})
Infof(msg string, args ...interface{})
Warnf(msg string, args ...interface{})
Errorf(msg string, args ...interface{})
}
Logger is responsible for providing logging facilities to bot instance.
type NoOpLogger ¶
type NoOpLogger struct{}
NoOpLogger implements a Logger that simply ignores all the log entries.
func (NoOpLogger) Debugf ¶
func (n NoOpLogger) Debugf(string, ...interface{})
func (NoOpLogger) Errorf ¶
func (n NoOpLogger) Errorf(string, ...interface{})
func (NoOpLogger) Infof ¶
func (n NoOpLogger) Infof(string, ...interface{})
func (NoOpLogger) Warnf ¶
func (n NoOpLogger) Warnf(string, ...interface{})
Click to show internal directories.
Click to hide internal directories.