1
0
Fork 0
forked from External/mediamtx
mediamtx/internal/syslog/syslog_win.go
2020-11-05 12:37:16 +01:00

26 lines
443 B
Go

// +build windows
package syslog
import (
"fmt"
"io"
)
type syslog struct {
}
// 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")
}
// Close implements io.WriteCloser.
func (ls *syslog) Close() error {
return nil
}
// Write implements io.WriteCloser.
func (ls *syslog) Write(p []byte) (int, error) {
return 0, nil
}