mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
2fff8f77dc
ref #14679 Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
23 lines
334 B
Go
23 lines
334 B
Go
//+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() {
|
|
}
|