File: //lib/python2.7/site-packages/flask/logging.pyc
�
n�Dac @@ s� d Z d d l m Z d d l Z d d l Z d d l Z d d l m Z d d l m Z e d � � Z
d � Z e j e
� Z
e
j e j d � � d
� Z d � Z d S( sN
flask.logging
~~~~~~~~~~~~~
:copyright: 2010 Pallets
:license: BSD-3-Clause
i ( t absolute_importN( t
LocalProxyi ( t requestc C@ s t r t j d St j S( s� Find the most appropriate error stream for the application. If a request
is active, log to ``wsgi.errors``, otherwise use ``sys.stderr``.
If you configure your own :class:`logging.StreamHandler`, you may want to
use this for the stream. If you are using file or dict configuration and
can't import this directly, you can refer to it as
``ext://flask.logging.wsgi_errors_stream``.
s wsgi.errors( R t environt syst stderr( ( ( s, /tmp/pip-build-W6Gm0N/Flask/flask/logging.pyt wsgi_errors_stream s
c @ s\ | j � � | } xC | rW t � f d � | j D� � r>