mirror of
https://github.com/go-micro/go-micro.git
synced 2025-04-04 20:44:27 +02:00
14 lines
229 B
Go
14 lines
229 B
Go
|
package client
|
||
|
|
||
|
type LogOptions struct {
|
||
|
AdditionalParams map[string]string
|
||
|
}
|
||
|
|
||
|
type LogOption func(*LogOptions)
|
||
|
|
||
|
func AdditionalParams(p map[string]string) LogOption {
|
||
|
return func(l *LogOptions) {
|
||
|
l.AdditionalParams = p
|
||
|
}
|
||
|
}
|