Files
wg-backend-django/dell-env/lib/python3.11/site-packages/flask/__pycache__/logging.cpython-311.pyc

36 lines
3.4 KiB
Plaintext
Raw Normal View History

2023-10-30 14:40:43 +07:00
<EFBFBD>
~]?e<><00><00><00>ddlZddlZddlZddlmZddlmZejrddl m
Z
edej fd<07><04><00>Z dej defd <09>Zeje <0C><00>Ze<11>ejd
<EFBFBD><00><00><00>d d dej fd <0A>ZdS)<0E>N)<01>
LocalProxy<EFBFBD>)<01>request)<01>Flask<73>returnc<00>L<00>trtjdn tjS)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``.
z wsgi.errors)r<00>environ<6F>sys<79>stderr<72><00><00>f/home/infidel/Sync/TIP/WireGuard/ocp-wg-backend/dell-env/lib/python3.11/site-packages/flask/logging.py<70>wsgi_errors_streamr s<00><00>.5<EFBFBD> D<>7<EFBFBD>?<3F>=<3D> )<29> )<29>#<23>*<2A>Dr <00>loggerc<00><><00><02>|<00><00><00><00>|}|r3t<00>fd<01>|jD<00><00><00><00>rdS|jsn |j}|<01>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>`.
c3<00>.<00>K<00>|]}|j<00>kV<00><00>dS)N)<01>level)<03>.0<EFBFBD>handlerrs <20>r<00> <genexpr>z$has_level_handler.<locals>.<genexpr>"s*<00><><00><00><00>F<>F<>'<27>w<EFBFBD>}<7D><05>%<25>F<>F<>F<>F<>F<>Fr TF)<05>getEffectiveLevel<65>any<6E>handlers<72> propagate<74>parent)r<00>currentrs @r<00>has_level_handlerrsv<00><><00> <13> $<24> $<24> &<26> &<26>E<EFBFBD><14>G<EFBFBD>
<11>!<21> <0E>F<>F<>F<>F<>W<EFBFBD>5E<35>F<>F<>F<> F<> F<> <18><17>4<EFBFBD><16> <20> <12> <11><19>.<2E><07> <12>!<21> <11>5r z6[%(asctime)s] %(levelname)s in %(module)s: %(message)s<>apprc<00><><00>tj|j<00><00>}|jr&|js|<01>tj<00><00>t|<01><00>s|<01>t<00><00>|S)a<>Get the Flask app's logger and configure it if needed.
The logger name will be the same as
:attr:`app.import_name <flask.Flask.name>`.
When :attr:`~flask.Flask.debug` is enabled, set the logger level to
:data:`logging.DEBUG` if it is not set.
If there is no handler for the logger's effective level, add a
:class:`~logging.StreamHandler` for
:func:`~flask.logging.wsgi_errors_stream` with a basic format.
)
<EFBFBD>logging<6E> getLogger<65>name<6D>debugr<00>setLevel<65>DEBUGr<00>
addHandler<EFBFBD>default_handler)rrs r<00> create_loggerr(5sf<00><00><15> <1E>s<EFBFBD>x<EFBFBD> (<28> (<28>F<EFBFBD>
<EFBFBD>y<EFBFBD>'<27><16><1C>'<27><0E><0F><0F><07> <0A>&<26>&<26>&<26> <1C>V<EFBFBD> $<24> $<24>+<2B><0E><19><19>/<2F>*<2A>*<2A>*<2A> <11>Mr )r r
<00>typing<6E>t<>werkzeug.localr<00>globalsr<00> TYPE_CHECKINGrr<00>TextIOr<00>Logger<65>boolr<00> StreamHandlerr'<00> setFormatter<65> Formatterr(r r r<00><module>r4s!<00><01><0E><0E><0E><0E>
<EFBFBD>
<EFBFBD>
<EFBFBD>
<EFBFBD><12><12><12><12>%<25>%<25>%<25>%<25>%<25>%<25><1C><1C><1C><1C><1C><1C><04>?<3F><1B><1A><1A><1A><1A><1A><1A> <0C> E<01>A<EFBFBD>H<EFBFBD> E<01> E<01> E<01> <0C><1A> E<01><11>g<EFBFBD>n<EFBFBD><11><14><11><11><11><11>*(<28>'<27>'<27>(:<3A>;<3B>;<3B><0F><0F><1C><1C><15>G<EFBFBD><15>N<>O<>O<><02><02><02>
<12>w<EFBFBD><12>7<EFBFBD>><3E><12><12><12><12><12>r