| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/flask/__pycache__/ |
Upload File : |
�
�j�b� � � � d dl Z d dlZd dlZd dlmZ ddlmZ ej rddl m
Z
edej fd�� � Zde j
defd �Z e j e� � Ze� e j d
� � � � ddde j
fd
�ZdS )� N)�
LocalProxy� )�request)�Flask�returnc �L � t rt j d nt j S )a� 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``.
zwsgi.errors)r �environ�sys�stderr� � �//usr/lib/python3/dist-packages/flask/logging.py�wsgi_errors_streamr
s � � .5�D�7�?�=�)�)�#�*�Dr
�loggerc � �� | � � � �| }|r3t �fd�|j D � � � � rdS |j sn |j }|�3dS )z�Check if there is a handler in the logging chain that will handle the
given logger's :meth:`effective level <~logging.Logger.getEffectiveLevel>`.
c 3 �. �K � | ]}|j �k V � �d S )N)�level)�.0�handlerr s �r � <genexpr>z$has_level_handler.<locals>.<genexpr>"