2020-10-13 22:02:55 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package syslog
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
2020-10-13 23:01:56 +00:00
|
|
|
"io"
|
2020-10-13 22:02:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type syslog struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func New(prefix string) (io.WriteCloser, error) {
|
|
|
|
return nil, fmt.Errorf("not implemented on windows")
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ls *syslog) Close() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ls *syslog) Write(p []byte) (int, error) {
|
|
|
|
return 0, nil
|
|
|
|
}
|