IPAddrs adds the field key with ip as a []net.IP array of IPv4 or IPv6 Address to the context
(key string, ip []net.IP)
| 512 | |
| 513 | // IPAddrs adds the field key with ip as a []net.IP array of IPv4 or IPv6 Address to the context |
| 514 | func (c Context) IPAddrs(key string, ip []net.IP) Context { |
| 515 | c.l.context = enc.AppendIPAddrs(enc.AppendKey(c.l.context, key), ip) |
| 516 | return c |
| 517 | } |
| 518 | |
| 519 | // IPPrefix adds adds the field key with pfx as a []net.IPNet IPv4 or IPv6 Prefix (address and mask) to the context |
| 520 | func (c Context) IPPrefix(key string, pfx net.IPNet) Context { |
nothing calls this directly
no test coverage detected