Permalink
Browse files

Support syslog namespace

Change-Id: Ia6b93d543add8c424506ef6bbe0c4260d2a724b8
  • Loading branch information...
1 parent d3d6f6b commit 0d0588e5868c111775510995e616b27569120050 @bluesalt bluesalt committed Oct 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 syslog_sink.go
View
@@ -14,8 +14,8 @@ type Syslog struct {
sync.Mutex
}
-func NewSyslogSink() *Syslog {
- writer, err := syslog.New(syslog.LOG_DEBUG, "")
+func NewSyslogSink(namespace string) *Syslog {
+ writer, err := syslog.New(syslog.LOG_DEBUG, namespace)
if err != nil {
panic(err)
}

0 comments on commit 0d0588e

Please sign in to comment.