diff options
Diffstat (limited to 'sd_daemon/log_util.go.gen')
-rwxr-xr-x | sd_daemon/log_util.go.gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd_daemon/log_util.go.gen b/sd_daemon/log_util.go.gen index f7f43c0..95d56b0 100755 --- a/sd_daemon/log_util.go.gen +++ b/sd_daemon/log_util.go.gen @@ -27,7 +27,7 @@ EOF for level in Emerg Alert Crit Err Warning Notice Info Debug; do cat <<EOF // $level writes a message with priority syslog.LOG_${level^^} to the log. -func (l Logger) $level(msg string) error { +func (l *Logger) $level(msg string) error { _, err := l.WriteString(syslog.LOG_${level^^}, msg) return err } |