mirror of
https://github.com/aler9/rtsp-simple-server
synced 2026-04-22 23:17:11 +08:00
3692b2448a
When writing log entries to syslog, pass the level (WARN, INFO, etc) directly to syslog. Avoid writing level and date. This provides a better integration and allows to use syslog search tools.
10 lines
193 B
Go
10 lines
193 B
Go
//go:build darwin || windows
|
|
|
|
package logger
|
|
|
|
import "fmt"
|
|
|
|
func newDestinationSyslog(_ string) (destination, error) {
|
|
return nil, fmt.Errorf("syslog is not available on macOS and Windows")
|
|
}
|