2017-06-16 10:33:35 +02:00
|
|
|
package xmpp
|
|
|
|
|
2017-08-10 20:11:35 +02:00
|
|
|
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 {
|
2017-08-10 20:11:35 +02:00
|
|
|
return fmt.Sprintf("[%s] [%s] %s", e.Hostname, e.Level, e.Text)
|
2017-06-16 10:33:35 +02:00
|
|
|
}
|