Skip to content

Commit 1fd54ed

Browse files
committed
Ruby: Recognised ActiveSupport::TaggedLogging as a logger
1 parent dc4ddf6 commit 1fd54ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActiveSupport.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ module ActiveSupport {
132132
module Logger {
133133
private class ActiveSupportLoggerInstance extends StdlibLogger::LoggerInstance {
134134
ActiveSupportLoggerInstance() {
135-
this = API::getTopLevelMember("ActiveSupport").getMember("Logger").getAnInstantiation()
135+
this =
136+
API::getTopLevelMember("ActiveSupport")
137+
.getMember(["Logger", "TaggedLogging"])
138+
.getAnInstantiation()
136139
}
137140
}
138141
}

0 commit comments

Comments
 (0)