summaryrefslogtreecommitdiff
path: root/sd_daemon/log_util.go.gen
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 15:43:59 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 22:40:06 -0500
commitb0c40f4c505fcf29d3ef8080c5e0d75d49000712 (patch)
tree55e240fa04b8a4160deead1463c7f048ef23bf9a /sd_daemon/log_util.go.gen
parenteb9b6bb15666ab0044e2244d75288f0d010431ec (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-xsd_daemon/log_util.go.gen2
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
}