Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { // Debugf logs messages at DEBUG level. Debugf(format string, args ...interface{}) // Infof logs messages at INFO level. Infof(format string, args ...interface{}) // Warnf logs messages at WARN level. Warnf(format string, args ...interface{}) // Errorf logs messages at ERROR level. Errorf(format string, args ...interface{}) // Fatalf logs messages at FATAL level. Fatalf(format string, args ...interface{}) }
Logger is used for logging formatted messages.
var ( // DefaultLogger is the default logger inside the gnet server. DefaultLogger Logger )
Click to show internal directories.
Click to hide internal directories.