diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-19 12:34:30 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-19 12:34:30 -0500 |
commit | 4a3a5525172afd69bc674a2a344065cd9e9a5888 (patch) | |
tree | fb61a19077d5eebbba8c82380cbc44fe7dbfdeb0 /sd_daemon/log_util.go.gen | |
parent | 9709d1ec5dc9e1cd1ef17b8cc4f5257cae6bf31c (diff) |
Whoops, methods need to be on *Logger, not Logger
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 } |