Update ql/lib/semmle/go/frameworks/stdlib/Log.qll

Rename class

Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
This commit is contained in:
Chris Smowton
2022-01-10 10:24:30 +00:00
committed by GitHub
parent 749698759a
commit ae5eadef28

View File

@@ -17,8 +17,8 @@ module Log {
}
}
private class ZapFormatter extends StringOps::Formatting::Range instanceof LogFunction {
ZapFormatter() { this.getName().matches("%f") }
private class LogFormatter extends StringOps::Formatting::Range instanceof LogFunction {
LogFormatter() { this.getName().matches("%f") }
override int getFormatStringIndex() { result = 0 }