We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa2d27 commit f08879aCopy full SHA for f08879a
go/ql/lib/change-notes/2023-07-28-logrus-with-context.md
@@ -0,0 +1,4 @@
1
+---
2
+category: minorAnalysis
3
4
+* Logrus' `WithContext` methods are no longer treated as if they output the values stored in that context to a log message.
go/ql/lib/semmle/go/frameworks/Logrus.qll
@@ -15,9 +15,7 @@ module Logrus {
15
}
16
17
bindingset[result]
18
- private string getAnEntryUpdatingMethodName() {
19
- result.regexpMatch("With(Error|Fields?|Time)")
20
- }
+ private string getAnEntryUpdatingMethodName() { result.regexpMatch("With(Error|Fields?|Time)") }
21
22
private class LogFunction extends Function {
23
LogFunction() {
0 commit comments