Skip to content

Commit 119a7e4

Browse files
committed
python: provide links for Flask
1 parent ecea392 commit 119a7e4

File tree

1 file changed

+5
-1
lines changed
  • python/ql/lib/semmle/python/frameworks

1 file changed

+5
-1
lines changed

python/ql/lib/semmle/python/frameworks/Flask.qll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,11 @@ module Flask {
575575
// Logging
576576
// ---------------------------------------------------------------------------
577577
/**
578-
* The attribute `logger` on a Flask application is a standard Python logger.
578+
* A Flask application provides a standard Python logger via the `logger` attribute.
579+
*
580+
* See
581+
* - https://flask.palletsprojects.com/en/2.0.x/api/#flask.Flask.logger
582+
* - https://flask.palletsprojects.com/en/2.0.x/logging/
579583
*/
580584
private class FlaskLogger extends Stdlib::Logger::LoggerInstance {
581585
FlaskLogger() { this = FlaskApp::instance().getMember("logger") }

0 commit comments

Comments
 (0)