From 74d458b40c0bdb140e7feab9af407642eb3dcea1 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 26 May 2010 15:30:06 +0200 Subject: [PATCH] Added versionadded for logger --- flask.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flask.py b/flask.py index cbb10b59..fb595067 100644 --- a/flask.py +++ b/flask.py @@ -784,6 +784,8 @@ class Flask(_PackageBoundObject): app.logger.debug('A value for debugging') app.logger.warning('A warning ocurred (%d apples)', 42) app.logger.error('An error occoured') + + .. versionadded:: 0.5 """ from logging import getLogger, StreamHandler, Formatter, DEBUG class DebugHandler(StreamHandler):