mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Format; add change note
This commit is contained in:
4
go/ql/lib/change-notes/2023-07-28-logrus-with-context.md
Normal file
4
go/ql/lib/change-notes/2023-07-28-logrus-with-context.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Logrus' `WithContext` methods are no longer treated as if they output the values stored in that context to a log message.
|
||||
@@ -15,9 +15,7 @@ module Logrus {
|
||||
}
|
||||
|
||||
bindingset[result]
|
||||
private string getAnEntryUpdatingMethodName() {
|
||||
result.regexpMatch("With(Error|Fields?|Time)")
|
||||
}
|
||||
private string getAnEntryUpdatingMethodName() { result.regexpMatch("With(Error|Fields?|Time)") }
|
||||
|
||||
private class LogFunction extends Function {
|
||||
LogFunction() {
|
||||
|
||||
Reference in New Issue
Block a user