Files
ServerSync/lib/rich/__pycache__/logging.cpython-314.pyc

109 lines
15 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<EFBFBD>0<00> <00><><00>^RIt^RIHt^RIHtHt^RIHt^RIHt^RIH t H
t
H t H t H t Ht^RIHt^RIHt^R IHtHt^R
IHtHt^R IHtHt^R IHt^R IHt!RR]4t ]!R8XEd^RI"H#t#Rt$]PJ!R]$R] !RRR7.R7]PL!R4t']'PQR4]'PQR4]#!^4]'PQR4]'PQR4]'PQR4]'PSR4]#!^4]'PURR R!R"R#R$.R6OR%.R&R'/R R!R(RR)RR&R'/4]'PUR*4]'PWR+4]'PQR,4]'PQR-4]'PSR.4R/R0lt,],!4]#!^4]'P[R14]'PQR24]'PQR3].!RR47R57R#R#)7<>N)<01>datetime)<02>Handler<65> LogRecord)<01>Path)<01>
ModuleType)<06>ClassVar<61>Iterable<6C>List<73>Optional<61>Type<70>Union)<01>NullFile)<01> get_console)<02>FormatTimeCallable<6C> LogRender)<02>Console<6C>ConsoleRenderable)<02> Highlighter<65>ReprHighlighter)<01>Text)<01> Tracebackc)<00>aa<01>]tRt^toRt.R&Ot]t]PR3RRRRRRRRRRR RR
R R R R RR^XR^RRRRRR RR'R^dR^
R^PRRRR/V3RlV3Rllllt
V3RlRlt V3RlRlt V3R lR!lt V3R"lR#ltV3R$ltR%tVtV;t#)(<28> RichHandleraa A logging handler that renders output with Rich. The time / level / message and file are displayed in columns.
The level is color coded, and the message is syntax highlighted.
Note:
Be careful when enabling console markup in log messages if you have configured logging for libraries not
under your control. If a dependency writes messages containing square brackets, it may not produce the intended output.
Args:
level (Union[int, str], optional): Log level. Defaults to logging.NOTSET.
console (:class:`~rich.console.Console`, optional): Optional console instance to write logs.
Default will use a global console instance writing to stdout.
show_time (bool, optional): Show a column for the time. Defaults to True.
omit_repeated_times (bool, optional): Omit repetition of the same time. Defaults to True.
show_level (bool, optional): Show a column for the level. Defaults to True.
show_path (bool, optional): Show the path to the original log call. Defaults to True.
enable_link_path (bool, optional): Enable terminal link of path column to file. Defaults to True.
highlighter (Highlighter, optional): Highlighter to style log messages, or None to use ReprHighlighter. Defaults to None.
markup (bool, optional): Enable console markup in log messages. Defaults to False.
rich_tracebacks (bool, optional): Enable rich tracebacks with syntax highlighting and formatting. Defaults to False.
tracebacks_width (Optional[int], optional): Number of characters used to render tracebacks, or None for full width. Defaults to None.
tracebacks_code_width (int, optional): Number of code characters used to render tracebacks, or None for full width. Defaults to 88.
tracebacks_extra_lines (int, optional): Additional lines of code to render tracebacks, or None for full width. Defaults to None.
tracebacks_theme (str, optional): Override pygments theme used in traceback.
tracebacks_word_wrap (bool, optional): Enable word wrapping of long tracebacks lines. Defaults to True.
tracebacks_show_locals (bool, optional): Enable display of locals in tracebacks. Defaults to False.
tracebacks_suppress (Sequence[Union[str, ModuleType]]): Optional sequence of modules or paths to exclude from traceback.
tracebacks_max_frames (int, optional): Optional maximum number of frames returned by traceback.
locals_max_length (int, optional): Maximum length of containers before abbreviating, or None for no abbreviation.
Defaults to 10.
locals_max_string (int, optional): Maximum length of string before truncating, or None to disable. Defaults to 80.
log_time_format (Union[str, TimeFormatterCallable], optional): If ``log_time`` is enabled, either string for strftime or callable that formats the time. Defaults to "[%x %X] ".
keywords (List[str], optional): List of words to highlight instead of ``RichHandler.KEYWORDS``.
N<EFBFBD> show_timeT<65>omit_repeated_times<65>
show_level<EFBFBD> show_path<74>enable_link_path<74> highlighter<65>markupF<70>rich_tracebacks<6B>tracebacks_width<74>tracebacks_code_width<74>tracebacks_extra_lines<65>tracebacks_theme<6D>tracebacks_word_wrap<61>tracebacks_show_locals<6C>tracebacks_suppress<73>tracebacks_max_frames<65>locals_max_length<74>locals_max_string<6E>log_time_formatz[%x %X]<5D>keywordsc.<00>d<<01>V^8<>dQhRS[S[S[3,RS[S[,RS[RS[RS[RS[RS[RS[S[,R S[R
S[R S[S[,R S[S[,R S[RS[S[,RS[RS[RS[S[S[S[3,,RS[RS[RS[RS[S[S[ 3,RS[S[
S[,,RR/#)<19><00>level<65>consolerrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-<00>returnN) r <00>int<6E>strr r<00>boolrr rrr
)<02>format<61> __classdict__s"<22><>3/tmp/pip-target-qd_sq_1j/lib/python/rich/logging.py<70> __annotate__<5F>RichHandler.__annotate__As1<00><><00>2!<21>2!<21><14>S<EFBFBD>#<23>X<EFBFBD><EFBFBD>2!<21><1A>'<27>"<22>2!<21>
<18> 2!<21> "<22> 2!<21><19>2!<21><18>2!<21><1F>2!<21><1E>k<EFBFBD>*<2A>2!<21><15>2!<21><1E>2!<21>#<23>3<EFBFBD>-<2D>2!<21> (<28><03>}<7D>2!<21>!$<24>2!<21> #<23>3<EFBFBD>-<2D>!2!<21>"#<23>#2!<21>$!%<25>%2!<21>&&<26>e<EFBFBD>C<EFBFBD><1A>O<EFBFBD>&<<3C>=<3D>'2!<21>( #<23>)2!<21>*<1F>+2!<21>,<1F>-2!<21>.<1F>s<EFBFBD>$6<>6<>7<>/2!<21>0<1B>4<EFBFBD><03>9<EFBFBD>%<25>12!<21>2
<0E>32!<21>c <08>x<<01>\SV`VR7T;'g \4VnT;'gVP 4Vn\ VVVVVRR7VnWpnW<>n W<>n
W<>n W<>n W<>n W<>nVVnVVnVVnW<>nVVnVVnVVnR#))r0N)rrr<00> time_formatr<00> level_width)<16>super<65>__init__rr1<00>HIGHLIGHTER_CLASSrr<00> _log_renderrr r!r"r$r%r&r'r(r)r#r*r+r-)<18>selfr0r1rrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-<00> __class__s&&&$$$$$$$$$$$$$$$$$$$$<24>r8r@<00>RichHandler.__init__As<><00><><00>4 <0E><07><18>u<EFBFBD><18>%<25><1E>/<2F>/<2F>+<2B>-<2D><04> <0C>&<26>B<>B<>$<24>*@<40>*@<40>*B<><04><18>$<24><1F>!<21><1F>'<27> 3<><1C> 
<EFBFBD><04><18>!1<><1D><1C> <0B>.<2E><1C> 0<><1D>&<<3C>#<23> 0<><1D>$8<>!<21>&<<3C><04>#<23>#6<><04> <20>%:<3A><04>"<22>%:<3A>"<22>!2<><04><1E>!2<><04><1E> <20><04> r;c<00>&<<01>V^8<>dQhRS[RS[/#)r/<00>recordr2)rr)r6r7s"<22>r8r9r:us<00><><00> <1A> <1A>Y<EFBFBD> <1A>4<EFBFBD> r;c <0C><><00>VPp\P!VP^4RVP 4 24pV#)z<>Get the level name from the record.
Args:
record (LogRecord): LogRecord instance.
Returns:
Text: A tuple of the style and level name.
zlogging.level.)<05> levelnamer<00>styled<65>ljust<73>lower)rCrG<00>
level_name<EFBFBD>
level_texts&& r8<00>get_level_text<78>RichHandler.get_level_textusF<00><00><1C>%<25>%<25>
<EFBFBD><19>[<5B>[<5B> <16> <1C> <1C>Q<EFBFBD> <1F>><3E>*<2A>2B<32>2B<32>2D<32>1E<31>!F<>
<EFBFBD>
<EFBFBD><1A>r;c<00>$<<01>V^8<>dQhRS[RR/#)r/rGr2N)r)r6r7s"<22>r8r9r:<00>s<00><><00>0)<29>0)<29>9<EFBFBD>0)<29><14>0)r;c <0C>X<00>VPV4pRpVP'EddVP'EdQVPR8wEd?VPwrEpVfQhVfQh\P!VVVVP
VP VPVPVPVPVPVPVPVPR7 pVP4pVP 'd{VP4VnVP p\%VR4'd7VP'4'd!VP)WP*4VnVP/V4pVP1W4pVP3WVR7p \5VP6P8\:4'dVP=V4R#VP6P?V 4R# \@dTP=T4R#i;i)zInvoked by logging.N)
<EFBFBD>width<74>
code_width<EFBFBD> extra_lines<65>theme<6D> word_wrap<61> show_localsr*r+<00>suppress<73>
max_frames<EFBFBD>usesTime)rG<00> traceback<63>message_renderable)NNN)!r6r!<00>exc_infor<00>from_exceptionr"r#r$r%r&r'r*r+r(r)<00>
getMessage<EFBFBD> formatter<65>message<67>hasattrr[<00>
formatTime<EFBFBD>datefmt<6D>asctime<6D> formatMessage<67>render_message<67>render<65>
isinstancer1<00>filer<00> handleError<6F>print<6E> Exception)
rCrGrbr\<00>exc_type<70> exc_value<75> exc_tracebackrar]<00>log_renderables
&& r8<00>emit<69>RichHandler.emit<69>s<><00><00><16>+<2B>+<2B>f<EFBFBD>%<25><07><18> <09> <10> <20> <20> <20><16><0F><0F><0F><16><0F><0F>#5<>5<>17<31><1F><1F> .<2E>H<EFBFBD><1D><1B>'<27> '<27>'<27><1C>(<28> (<28>(<28>!<21>0<>0<><18><19><1D><1A>+<2B>+<2B><1F>5<>5<> <20>7<>7<><1A>+<2B>+<2B><1E>3<>3<> <20>7<>7<>"&<26>"8<>"8<>"&<26>"8<>"8<><1D>1<>1<><1F>5<>5<><0E>I<EFBFBD><1D>'<27>'<27>)<29>G<EFBFBD><13>~<7E>~<7E>~<7E>!'<27>!2<>!2<>!4<><06><0E> <20>N<EFBFBD>N<EFBFBD> <09><1A>9<EFBFBD>j<EFBFBD>1<>1<>i<EFBFBD>6H<36>6H<36>6J<36>6J<36>%.<2E>%9<>%9<>&<26>BS<42>BS<42>%T<>F<EFBFBD>N<EFBFBD>#<23>1<>1<>&<26>9<><07>!<21>0<>0<><16>A<><1A><1D><1B><1B><19>CU<43>%<25>
<EFBFBD><0E> <16>d<EFBFBD>l<EFBFBD>l<EFBFBD>'<27>'<27><18> 2<> 2<> <11> <1C> <1C>V<EFBFBD> $<24> )<29><14> <0C> <0C>"<22>"<22>><3E>2<><32><1C> )<29><14> <20> <20><16>(<28> )<29>s<00>,H <00> H)<03>(H)c<00>*<<01>V^8<>dQhRS[RS[RR/#)r/rGrbr2r)rr4)r6r7s"<22>r8r9r:<00>s#<00><><00><1C><1C>Y<EFBFBD><1C><13><1C>AT<41>r;c <0C>n<00>\VRVP4pV'd\P!V4M
\V4p\VRVP4pV'd V!V4pVP
fVP VnVP
'dVPVP
R4V#)z<>Render message text in to Text.
Args:
record (LogRecord): logging Record.
message (str): String containing log message.
Returns:
ConsoleRenderable: Renderable to display log message.
r rzlogging.keyword)<08>getattrr r<00> from_markuprr-<00>KEYWORDS<44>highlight_words)rCrGrb<00>
use_markup<EFBFBD> message_textrs&&& r8rh<00>RichHandler.render_message<67>s<><00><00><1D>V<EFBFBD>X<EFBFBD>t<EFBFBD>{<7B>{<7B>;<3B>
<EFBFBD>4><3E>t<EFBFBD>'<27>'<27><07>0<>D<EFBFBD><17>M<EFBFBD> <0C><1D>f<EFBFBD>m<EFBFBD>T<EFBFBD>5E<35>5E<35>F<> <0B> <16>&<26>|<7C>4<>L<EFBFBD> <0F>=<3D>=<3D> <20> <20>M<EFBFBD>M<EFBFBD>D<EFBFBD>M<EFBFBD> <0F>=<3D>=<3D>=<3D> <18> (<28> (<28><14><1D><1D>8I<38> J<><1B>r;c<00>><<01>V^8<>dQhRS[RS[S[,RRRR/#)r/rGr\r]rr2)rr r)r6r7s"<22>r8r9r:<00>s:<00><><00> <1E> <1E><1A> <1E><1C>I<EFBFBD>&<26> <1E>
0<> <1E>
<1D> r;c  <0C><><00>\VP4PpVPV4pVPfRMVPP
p\ P!VP4pTPVPV'gV.MW2.TTTTVPVP'd VPMRR7pV#)a>Render log for display.
Args:
record (LogRecord): logging Record.
traceback (Optional[Traceback]): Traceback instance or None for no Traceback.
message_renderable (ConsoleRenderable): Renderable (typically Text) containing log message contents.
Returns:
ConsoleRenderable: Renderable to display log.
N)<06>log_timer=r0<00>path<74>line_no<6E> link_path) r<00>pathname<6D>namerOrarer<00> fromtimestamp<6D>createdrBr1<00>linenor) rCrGr\r]r<>r0r=r<>rrs &$$$ r8ri<00>RichHandler.render<65>s<><00><00>"<14>F<EFBFBD>O<EFBFBD>O<EFBFBD>$<24>)<29>)<29><04><14>#<23>#<23>F<EFBFBD>+<2B><05>"<22>n<EFBFBD>n<EFBFBD>4<>d<EFBFBD>$<24>.<2E>.<2E>:P<>:P<> <0B><1B>)<29>)<29>&<26>.<2E>.<2E>9<><08><1D>)<29>)<29> <10>L<EFBFBD>L<EFBFBD>(1<> <1F> <20>8J<38>7V<37><1D>#<23><17><15><1A>M<EFBFBD>M<EFBFBD>)-<2D>)><3E>)><3E>)><3E>f<EFBFBD>o<EFBFBD>o<EFBFBD>D<EFBFBD>*<2A> 
<EFBFBD><0E><1E>r;c<00><><<01>V^8<>dQh/S[S[S[S[,,,;R&S[S[S[,,;R&#)r/ryrA)rr r
r4r r)r6r7s"<22>r8r9r:s=<00><><00><00>F<17>x<EFBFBD><04>S<EFBFBD> <09>*<2A>+<2B> <06>G<01>Z <20><04>[<5B> 1<>2<>D<>[r;)rBr1rrr-r*r+r r!r#r$r)r'r(r%r"r&)<08>GET<45>POST<53>HEAD<41>PUT<55>DELETE<54>OPTIONS<4E>TRACE<43>PATCH<43>)<13>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__ryrrA<00>logging<6E>NOTSETr@rOrsrhri<00>__annotate_func__<5F>__static_attributes__<5F>__classdictcell__<5F> __classcell__)rDr7s@@r8rrs.<00><><00><00> <08>D /<06>H<EFBFBD>6E<01><15>")<29><1E><1E>%)<29>2!<21>
<1F> 2!<21> %)<29> 2!<21> <20>2!<21><1F>2!<21>"&<26>2!<21>.2<EFBFBD>2!<21><1D>2!<21>!&<26>2!<21>+/<2F>2!<21>02<30>2!<21>'(<28>2!<21> +/<2F>!2!<21>"&*<2A>#2!<21>$(-<2D>%2!<21>&AC<01>'2!<21>(&)<29>)2!<21>*"$<24>+2!<21>,"$<24>-2!<21>.;D<01>/2!<21>0)-<2D>12!<21>2!<21>h <1A> <1A>0)<29>0)<29>d<1C><1C>2 <1E> <1E>{<01>r;r<00>__main__)<01>sleepz %(message)sr<73>z[%X]T)r!r')r0r6re<00>handlers<72>richzServer starting...z"Listening on http://127.0.0.1:8080zGET /index.html 200 1298z)GET /imgs/backgrounds/back1.jpg 200 54386zGET /css/styles.css 200 54386zGET /favicon.ico 404 242zJSONRPC request
--> %r
<-- %r<>versionz1.1<EFBFBD>method<6F>confirmFruitPurchase<73>paramsg+<2B><16><><EFBFBD><EFBFBD>?<3F>id<69> 194521489<38>result<6C>errorzrLoading configuration file /adasd/asdasd/qeqwe/qwrqwrqwr/sdgsdgsdg/werwerwer/dfgerert/ertertert/ertetert/werwerwerz$Unable to find 'pomelo' in database!zPOST /jsonrpc/ 200 65532zPOST /admin/ 401 42234z%password was rejected for admin site.c<00><00>V^8<>dQhRR/#)r/r2Nr<4E>)r6s"r8r9r9s<00><00>=<3D>=<3D>D<EFBFBD>=r;c<00><><00>^p^pR.^d,p\PR4W, R# \PR4R#;i)<05><00>fooz in dividezAn error of some kind occurred!N)<03>log<6F>debug<75> exception)<03>number<65>divisor<6F>fooss r8<00>divider<65>sE<00><00><12><06><13><07><15>w<EFBFBD><13>}<7D><04> <0B> <09> <09>+<2B><1E> =<3D> <12> <1C> <1C><> =<3D> <0F>M<EFBFBD>M<EFBFBD>;<3B> <<3C>s <00>/<00>A zOut of memory!zServer exited with code=-1z[bold]EXITING...[/bold])r )<01>extra)<04>apple<6C>orange<67>mangoes<65>pomelo)/r<>rrr<00>pathlibr<00>typesr<00>typingrr r
r r r <00>rich._null_filer<00>rrBrrr1rrrrr<00>textrr\rrr<><00>timer<65><00>FORMAT<41> basicConfig<69> getLoggerr<72><00>info<66>warningr<67>r<>r<><00>critical<61>dictr<74>r;r8<00><module>r<>s<><00><01><0E><1D>&<26><18><1C>B<>B<>$<24><19>6<>/<2F>5<><16> <20>]<1E>'<27>]<1E>@ <0C>z<EFBFBD><19><1A> <1A>F<EFBFBD> <0B><17><17><16><15><16><1D>d<EFBFBD>4<EFBFBD>P<>Q<> <06> <12>
<1B>
<1B>F<EFBFBD>
#<23>C<EFBFBD><07>H<EFBFBD>H<EFBFBD> !<21>"<22><07>H<EFBFBD>H<EFBFBD> 1<>2<> <09>!<21>H<EFBFBD><07>H<EFBFBD>H<EFBFBD> '<27>(<28><07>H<EFBFBD>H<EFBFBD> 8<>9<><07>H<EFBFBD>H<EFBFBD> ,<2C>-<2D><07>K<EFBFBD>K<EFBFBD>*<2A>+<2B> <09>!<21>H<EFBFBD><07>I<EFBFBD>I<EFBFBD>)<29> <15>u<EFBFBD> <14>,<2C> <14>?<3F><15>G<> <10>+<2B> 
<EFBFBD>
<13>E<EFBFBD>8<EFBFBD>T<EFBFBD>7<EFBFBD>D<EFBFBD>$<24> <0B>L<> <06><08>I<EFBFBD>I<EFBFBD>|<7C><06><08>I<EFBFBD>I<EFBFBD>4<>5<><07>H<EFBFBD>H<EFBFBD> '<27>(<28><07>H<EFBFBD>H<EFBFBD> %<25>&<26><07>K<EFBFBD>K<EFBFBD>7<>8<>=<3D> <0B>H<EFBFBD> <09>!<21>H<EFBFBD><07>L<EFBFBD>L<EFBFBD>!<21>"<22><07>H<EFBFBD>H<EFBFBD> )<29>*<2A><07>H<EFBFBD>H<EFBFBD> &<26>d<EFBFBD>$<24>.?<3F>H<EFBFBD>@<40>or;