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
@@ -5,10 +5,11 @@
package modules
import (
"log"
"strings"
"time"
"code.dnix.de/an/xlog"
"github.com/sorcix/irc"
)
@@ -18,7 +19,7 @@ var (
func init() {
MsgHandlers["fuzzytime"] = gogsHandleMessage
log.Println("Initializing gogs module")
xlog.Info("Gogs module initialized")
}
func gogsConfig() {