summaryrefslogtreecommitdiff
path: root/sd_daemon/log_util.go.gen
diff options
context:
space:
mode:
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
}