liuxiaolong
2020-09-16 4501e38ca66f09b35aaaf43fa5a316554930fcf4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build windows plan9 nacl
 
package gsyslog
 
import (
    "fmt"
)
 
// NewLogger is used to construct a new Syslogger
func NewLogger(p Priority, facility, tag string) (Syslogger, error) {
    return nil, fmt.Errorf("Platform does not support syslog")
}
 
// DialLogger is used to construct a new Syslogger that establishes connection to remote syslog server
func DialLogger(network, raddr string, p Priority, facility, tag string) (Syslogger, error) {
    return nil, fmt.Errorf("Platform does not support syslog")
}