Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoggerChan chan *LogEvent = make(chan *LogEvent, 5000)
View Source
var NoLogRegex map[string]*regexp.Regexp = map[string]*regexp.Regexp{ "CREDIT CARD": regexp.MustCompile(`(?mi)(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})`), "AMEX CARD": regexp.MustCompile(`(?mi)3[47][0-9]{13}`), "SSN": regexp.MustCompile(`(?mi)\d{3}[- ]?\d{2}[- ]?\d{4}`), }
Functions ¶
func RemoveNonLogData ¶
func StartLogging ¶
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
Types ¶
type LogEvent ¶
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
func GetLogEvent ¶
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
Click to show internal directories.
Click to hide internal directories.