diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-18 15:43:59 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-18 22:40:06 -0500 |
commit | b0c40f4c505fcf29d3ef8080c5e0d75d49000712 (patch) | |
tree | 55e240fa04b8a4160deead1463c7f048ef23bf9a /sd_daemon/log_util.go.gen | |
parent | eb9b6bb15666ab0044e2244d75288f0d010431ec (diff) |
sd_daemon: BREAKING CHANGE: rename WriteBytes->LogBytes, WriteString->LogStringv0.5.0
This is to make room for an io.stringWriter implementation.
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 3ca63dc..9bfc28c 100755 --- a/sd_daemon/log_util.go.gen +++ b/sd_daemon/log_util.go.gen @@ -28,7 +28,7 @@ EOF cat <<EOF // $pri writes a message with priority syslog.LOG_${pri^^} to the log. func (l *Logger) $pri(msg string) error { - _, err := l.WriteString(syslog.LOG_${pri^^}, msg) + _, err := l.LogString(syslog.LOG_${pri^^}, msg) return err } |