Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SanitizingFilter ¶
type SanitizingFilter struct{}
SanitizingFilter implements the LogFilter interface from klog with a set of functions that inspects the arguments with the datapol library
func (*SanitizingFilter) Filter ¶
func (sf *SanitizingFilter) Filter(args []interface{}) []interface{}
Filter is the filter function for the non-formatting logging functions of klog.
func (*SanitizingFilter) FilterF ¶
func (sf *SanitizingFilter) FilterF(fmt string, args []interface{}) (string, []interface{})
FilterF is the filter function for the formatting logging functions of klog
func (*SanitizingFilter) FilterS ¶
func (sf *SanitizingFilter) FilterS(msg string, keysAndValues []interface{}) (string, []interface{})
FilterS is the filter for the structured logging functions of klog.
Click to show internal directories.
Click to hide internal directories.