summaryrefslogtreecommitdiff
path: root/vendor/github.com/fluffle/goirc/logging/logging.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fluffle/goirc/logging/logging.go')
-rw-r--r--vendor/github.com/fluffle/goirc/logging/logging.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/vendor/github.com/fluffle/goirc/logging/logging.go b/vendor/github.com/fluffle/goirc/logging/logging.go
index bd54416..f939fce 100644
--- a/vendor/github.com/fluffle/goirc/logging/logging.go
+++ b/vendor/github.com/fluffle/goirc/logging/logging.go
@@ -31,13 +31,14 @@ func SetLogger(l Logger) {
// A nullLogger does nothing while fulfilling Logger.
type nullLogger struct{}
+
func (nl nullLogger) Debug(f string, a ...interface{}) {}
-func (nl nullLogger) Info(f string, a ...interface{}) {}
-func (nl nullLogger) Warn(f string, a ...interface{}) {}
+func (nl nullLogger) Info(f string, a ...interface{}) {}
+func (nl nullLogger) Warn(f string, a ...interface{}) {}
func (nl nullLogger) Error(f string, a ...interface{}) {}
// Shim functions so that the package can be used directly
func Debug(f string, a ...interface{}) { logger.Debug(f, a...) }
-func Info(f string, a ...interface{}) { logger.Info(f, a...) }
-func Warn(f string, a ...interface{}) { logger.Warn(f, a...) }
+func Info(f string, a ...interface{}) { logger.Info(f, a...) }
+func Warn(f string, a ...interface{}) { logger.Warn(f, a...) }
func Error(f string, a ...interface{}) { logger.Error(f, a...) }