diff options
Diffstat (limited to 'sd_daemon/log.go')
-rw-r--r-- | sd_daemon/log.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd_daemon/log.go b/sd_daemon/log.go index 76a735f..df82d4b 100644 --- a/sd_daemon/log.go +++ b/sd_daemon/log.go @@ -17,12 +17,12 @@ package sd_daemon import ( + "fmt" "io" + "log/syslog" "os" "strings" "sync" - "fmt" - "log/syslog" ) // Logger writes "<N>"-prefixed lines to an io.Writer, where N is a @@ -33,7 +33,7 @@ import ( // constant "Log", which uses os.Stderr as the writer. It is // implemented as a struct rather than a set of functions so that it // can be passed around as an implementation of an interface. -type Logger struct{ +type Logger struct { mu sync.Mutex out io.Writer } |