We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26761df commit 992d409Copy full SHA for 992d409
2 files changed
logger/syslog/message.go
@@ -5,6 +5,7 @@ import (
5
"strings"
6
)
7
8
+// SyslogMessage is a textual system log message.
9
type SyslogMessage interface {
10
fmt.Stringer
11
}
logger/syslogd/syslogd.go
@@ -90,6 +90,7 @@ func (h *handler) mainLoop() {
90
h.End()
91
92
93
+// Listen starts a new syslog server which runs until it receives a signal.
94
func Listen(signalChan chan os.Signal, cleanupDone chan bool) {
95
fmt.Println("Starting syslog...")
96
// Create a server with one handler and run one listen gorutine
0 commit comments