Browse Source

Added versionadded for logger

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
74d458b40c
  1. 2
      flask.py

2
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):

Loading…
Cancel
Save