2021-09-01 09:38:56 -05:00
|
|
|
//go:build windows
|
|
|
|
// +build windows
|
2016-06-16 07:36:19 -05:00
|
|
|
|
|
|
|
package log
|
|
|
|
|
2016-06-16 11:21:12 -05:00
|
|
|
import (
|
2022-01-06 08:28:05 -06:00
|
|
|
"github.com/go-kit/log"
|
2016-06-16 11:21:12 -05:00
|
|
|
"gopkg.in/ini.v1"
|
|
|
|
)
|
2016-06-16 07:36:19 -05:00
|
|
|
|
|
|
|
type SysLogHandler struct {
|
2022-01-06 08:28:05 -06:00
|
|
|
logger log.Logger
|
2016-06-16 07:36:19 -05:00
|
|
|
}
|
|
|
|
|
2022-01-06 08:28:05 -06:00
|
|
|
func NewSyslog(sec *ini.Section, format Formatedlogger) *SysLogHandler {
|
2016-06-16 07:36:19 -05:00
|
|
|
return &SysLogHandler{}
|
|
|
|
}
|
|
|
|
|
2022-01-06 08:28:05 -06:00
|
|
|
func (sw *SysLogHandler) Log(keyvals ...interface{}) error {
|
2016-06-16 07:36:19 -05:00
|
|
|
return nil
|
|
|
|
}
|
2016-06-16 14:10:30 -05:00
|
|
|
|
2020-12-15 02:32:06 -06:00
|
|
|
func (sw *SysLogHandler) Close() error {
|
|
|
|
return nil
|
2016-06-16 14:10:30 -05:00
|
|
|
}
|