Add detailed scanner metrics (#15161)

This commit is contained in:
Klaus Post authored and GitHub committed 2022-07-05 14:45:49 -07:00
1 parent df42914da6
commit ac055b09e9
55 files changed
+1734 -1752

No files matched your search

+2 -2
View File
@@ -63,7 +63,7 @@ func (t *testingLogger) Type() types.TargetType {
return types.TargetHTTP
}
func (t *testingLogger) Send(entry interface{}, errKind string) error {
func (t *testingLogger) Send(entry interface{}) error {
t.mu.Lock()
defer t.mu.Unlock()
if t.t == nil {
@@ -75,7 +75,7 @@ func (t *testingLogger) Send(entry interface{}, errKind string) error {
}
t.t.Helper()
t.t.Log(e.Level, ":", errKind, e.Message)
t.t.Log(e.Level, ":", e.Message)
return nil
}