IPPrefix adds adds the field key with pfx as a []net.IPNet array of IPv4 or IPv6 Prefix (address and mask) to the context
(key string, pfx []net.IPNet)
| 524 | |
| 525 | // IPPrefix adds adds the field key with pfx as a []net.IPNet array of IPv4 or IPv6 Prefix (address and mask) to the context |
| 526 | func (c Context) IPPrefixes(key string, pfx []net.IPNet) Context { |
| 527 | c.l.context = enc.AppendIPPrefixes(enc.AppendKey(c.l.context, key), pfx) |
| 528 | return c |
| 529 | } |
| 530 | |
| 531 | // MACAddr adds adds the field key with ha as a net.HardwareAddr MAC address to the context |
| 532 | func (c Context) MACAddr(key string, ha net.HardwareAddr) Context { |
nothing calls this directly
no test coverage detected