1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-17 20:28:06 +02:00
2021-10-12 12:55:53 +01:00

23 lines
354 B
Go

// +build windows
package windowseventlog
import "go-micro.dev/v4/logger"
type src struct{}
type eid struct{}
type Options struct {
logger.Options
Src string
Eid uint32
}
func WithSrc(namesrc string) logger.Option {
return logger.SetOption(src{}, namesrc)
}
func WithEid(neweid uint32) logger.Option {
return logger.SetOption(eid{}, neweid)
}