Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Natalie Arellano <[email protected]>
  • Loading branch information
natalieparellano committed Dec 14, 2022
1 parent 0479907 commit 3f4cfa5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ type Detector struct {
Resolver DetectResolver
Runs *sync.Map

// If detect fails, we want to print debug statements as info level.
// memHandler holds all log entries; we'll iterate through them at the end of detect,
// providing them to the detector's logger according to the desired log level.
memHandler *memory.Handler
}

Expand Down

0 comments on commit 3f4cfa5

Please sign in to comment.