grafana/pkg/infra/log/syslog_windows.go
2021-09-01 17:38:56 +03:00

25 lines
372 B
Go

//go:build windows
// +build windows
package log
import (
"github.com/inconshreveable/log15"
"gopkg.in/ini.v1"
)
type SysLogHandler struct {
}
func NewSyslog(sec *ini.Section, format log15.Format) *SysLogHandler {
return &SysLogHandler{}
}
func (sw *SysLogHandler) Log(r *log15.Record) error {
return nil
}
func (sw *SysLogHandler) Close() error {
return nil
}