Beautify logs with xlog

This commit is contained in:
Andreas Neue
2016-03-12 13:09:25 +01:00
parent 13379b29ea
commit 1dea72f6c7
11 changed files with 60 additions and 48 deletions
+3 -2
View File
@@ -7,16 +7,17 @@
package modules
import (
"log"
"strings"
"time"
"code.dnix.de/an/xlog"
"github.com/sorcix/irc"
)
func init() {
MsgHandlers["coffee"] = coffeeHandleMessage
log.Println("Initializing coffee module")
xlog.Info("Cёffee module initialized")
}
func coffeeHandleMessage(m *irc.Message) {