4 changed files with 15 additions and 21 deletions
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
// +build windows
|
||||
|
||||
package logger |
||||
|
||||
import ( |
||||
"fmt" |
||||
"io" |
||||
) |
||||
|
||||
func newSyslog(prefix string) (io.WriteCloser, error) { |
||||
return nil, fmt.Errorf("not implemented on windows") |
||||
} |
||||
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
// +build windows
|
||||
|
||||
package syslog |
||||
|
||||
import ( |
||||
"fmt" |
||||
"io" |
||||
) |
||||
|
||||
// New allocates a io.WriteCloser that writes to the system log.
|
||||
func New(prefix string) (io.WriteCloser, error) { |
||||
return nil, fmt.Errorf("not implemented on windows") |
||||
} |
||||
Loading…
Reference in new issue