log/namespaced/namespaced.go
func (n *Namespaced) WithField(k string, v interface{}) log.Interface {
	if k == NamespaceKey {
		if str, ok := v.(string); ok {
			return &Namespaced{
				Interface:  n.Interface,
				namespaces: n.namespaces,
				namespace:  str,
			}
		}
	}

	return &Namespaced{
		Interface:  n.Interface.WithField(k, v),
		namespaces: n.namespaces,
		namespace:  n.namespace,
	}
}
func (n *Namespaced) WithField(k string, v interface{}) log.Interface {
	if k == NamespaceKey {
		if str, ok := v.(string); ok {
			return &Namespaced{
				Interface:  n.Interface,
				namespaces: n.namespaces,
				namespace:  str,
			}
		}
	}

	return &Namespaced{
		Interface:  n.Interface.WithField(k, v),
		namespaces: n.namespaces,
		namespace:  n.namespace,
	}
}
// WithField adds a field to the logger