Skip to content

Commit 2c60126

Browse files
authored
Merge pull request #11 from yansuan/master
fix syslogBackend does not implement Backend (missing Close method)
2 parents 2a2a483 + 03fbb32 commit 2c60126

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

logger/syslog_unsupported.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build windows || plan9 || netbsd
12
// +build windows plan9 netbsd
23

34
package logger
@@ -16,7 +17,7 @@ func NewSyslogBackend(priorityStr string, tag string) (*syslogBackend, error) {
1617
func (self *syslogBackend) Log(s Severity, msg []byte) {
1718
}
1819

19-
func (self *syslogBackend) close() {
20+
func (self *syslogBackend) Close() {
2021
}
2122

2223
func (self *syslogBackend) tryPutInBuf(s Severity, msg []byte) {

0 commit comments

Comments
 (0)