diff --git a/syslog.go b/syslog.go index 8a85512..87065e8 100644 --- a/syslog.go +++ b/syslog.go @@ -93,7 +93,9 @@ func (this *SysLog_) Debug(format string, args ...interface{}) { func (this *SysLog_) addLog(category string, format string, args ...interface{}) { p := &LogMsgNode{} - p.logMsg = time.Now().Format("2006-01-02 15:04:05") + category + " " + fmt.Sprintf(format, args...) + "\n" + p.logMsg = time.Now().Format("2006-01-02 15:04:05") + + category + " " + + fmt.Sprintf(format, args...) + "\n" if this.debuging { fmt.Print(p.logMsg) } diff --git a/f5types.go b/types.go similarity index 100% rename from f5types.go rename to types.go