Ruby: Recognised ActiveSupport::TaggedLogging as a logger

This commit is contained in:
Harry Maclean
2022-05-03 12:38:49 +12:00
parent dc4ddf6899
commit 1fd54ed8c3

View File

@@ -132,7 +132,10 @@ module ActiveSupport {
module Logger {
private class ActiveSupportLoggerInstance extends StdlibLogger::LoggerInstance {
ActiveSupportLoggerInstance() {
this = API::getTopLevelMember("ActiveSupport").getMember("Logger").getAnInstantiation()
this =
API::getTopLevelMember("ActiveSupport")
.getMember(["Logger", "TaggedLogging"])
.getAnInstantiation()
}
}
}