syslog_windows.go 290 B

1234567891011121314151617181920
  1. //+build windows
  2. package log
  3. import "github.com/inconshreveable/log15"
  4. type SysLogHandler struct {
  5. }
  6. func NewSyslog() *SysLogHandler {
  7. return &SysLogHandler{}
  8. }
  9. func (sw *SysLogHandler) Init() error {
  10. return nil
  11. }
  12. func (sw *SysLogHandler) Log(r *log15.Record) error {
  13. return nil
  14. }