mediamtx/internal/syslog/syslog_win.go

24 lines
306 B
Go
Raw Normal View History

// +build windows
package syslog
import (
"fmt"
2020-10-13 23:01:56 +00:00
"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
}