Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
python: provide links for Flask
  • Loading branch information
yoff committed Feb 1, 2022
commit 119a7e4f34c1c59e6544cff1e6e78de254ff44b6
6 changes: 5 additions & 1 deletion python/ql/lib/semmle/python/frameworks/Flask.qll
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,11 @@ module Flask {
// Logging
// ---------------------------------------------------------------------------
/**
* The attribute `logger` on a Flask application is a standard Python logger.
* A Flask application provides a standard Python logger via the `logger` attribute.
*
* See
* - https://flask.palletsprojects.com/en/2.0.x/api/#flask.Flask.logger
* - https://flask.palletsprojects.com/en/2.0.x/logging/
*/
private class FlaskLogger extends Stdlib::Logger::LoggerInstance {
FlaskLogger() { this = FlaskApp::instance().getMember("logger") }
Expand Down