File: unsupported.go

package info (click to toggle)
golang-github-hashicorp-go-syslog 0.0~git20150218.0.42a2b57-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 72 kB
  • ctags: 36
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
// +build windows plan9 netbsd

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")
}