mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
a8eef45a44
* 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>
26 lines
389 B
Go
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
|
|
}
|