logmania/notify/xmpp/internal.go

12 lines
177 B
Go
Raw Normal View History

2017-06-16 10:33:35 +02:00
package xmpp
import (
"fmt"
"github.com/genofire/logmania/log"
)
2017-06-16 10:33:35 +02:00
2017-08-09 08:45:45 +02:00
func formatEntry(e *log.Entry) string {
return fmt.Sprintf("[%s] [%s] %s", e.Hostname, e.Level, e.Text)
2017-06-16 10:33:35 +02:00
}