|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/flask/ |
Upload File : |
�
-/�_c @@ 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-install-sTXtzD/flask/flask/logging.pyt wsgi_errors_stream s
c @ s\ | j � � | } xC | rW t � f d � | j D� � r>