grafana/pkg/infra/log/syslog_windows.go
ying-jeanne a8eef45a44
Logger migration from log15 to gokit/log (#41636)
* migrate log15 to gokit/log

* fix console log

* update some unittest

* fix all unittest

* fix the build

* Update pkg/infra/log/log.go

Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com>

* general type vector

* correct the level key

Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com>
2022-01-06 22:28:05 +08:00

26 lines
389 B
Go

//go:build windows
// +build windows
package log
import (
"github.com/go-kit/log"
"gopkg.in/ini.v1"
)
type SysLogHandler struct {
logger log.Logger
}
func NewSyslog(sec *ini.Section, format Formatedlogger) *SysLogHandler {
return &SysLogHandler{}
}
func (sw *SysLogHandler) Log(keyvals ...interface{}) error {
return nil
}
func (sw *SysLogHandler) Close() error {
return nil
}