mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-23 23:42:59 +00:00
24 lines
306 B
Go
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
|
|
}
|