Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(f string, a ...interface{})
Shim functions so that the package can be used directly
Types ¶
type Logger ¶
type Logger interface {
// Debug logging of raw socket comms to/from server.
Debug(format string, args ...interface{})
// Informational logging about client behaviour.
Info(format string, args ...interface{})
// Warnings of inconsistent or unexpected data, mostly
// related to state tracking of IRC nicks/chans.
Warn(format string, args ...interface{})
// Errors, mostly to do with network communication.
Error(format string, args ...interface{})
}
The IRC client will log things using these methods
Click to show internal directories.
Click to hide internal directories.