mediamtx/internal/syslog/syslog_win.go
2020-11-01 22:56:56 +01:00

24 lines
306 B
Go

// +build windows
package syslog
import (
"fmt"
"io"
)
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
}