Files
boc/aamos-ledger-rust/target/debug/deps/libtracing_log-a8734d92d3982d4e.rmeta
T

127 lines
57 KiB
Plaintext
Raw Normal View History

rust
ã#rustc 1.96.0 (ac68faa20 2026-05-25)ÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁòÖÀH•‘PIÓHã#£-055f30b747f859b6Árustc_std_workspace_coreÁ­Cçß^ò½èÝ$­Çÿ+Cé-c4878ee60b2242c9ÁŸÃï+Ñ]ŠqB<ÏïW#-8dd1dd90e70d0b6aÁ miniz_oxideÁ€š»J(P>àö÷g\K-1eb618da2918ab7fÁadler2ÁÆ;+Þ®5¥Ìýݰ¦ÛLˆ-f7919172d268e069Á hashbrownÁPäV9ÒÆèÜ"ÊÖVŽ\-0fc2184a5da6723aÁrustc_std_workspace_allocÁs&ØòØy¯s•bæ!‰ýŠ-97e4bf30be240674Á
std_detectÁhŠBîÙºÌI®ËÅš-9dbbf8346ba7ac8bÁrustc_demangleÁûë9´Ç×@Œ’ùXFº-f33013f239bf9f14Ácfg_ifÁÜLhž§Œaã¯>­-0a71c8f33a838301Á addr2lineÁ׎Þ!]8V$É@@-e618e6be60e87ba2ÁgimliÁ¸
°µ~Î1‹Ñt ðÁ€w-1f7768a68858f670ÁobjectÁ
áPÃ?­À¶¼QHJ¥-914cd6a4dbe590d1ÁmemchrÁ›º«8Ór­2Ù $¨ûib-cf21ca6f2bb15dcdÁë
‹ás«LÖ€îâƒ×ɯŒ-ee6f3747e38367f0Á once_cellÁ6ÿ]Ô¯q4c]kÂÓ‹-a47cd60ec4e2e104Á tracing_coreÁ ×Üç2cà‡&AfR˜-e3485af10456d858ÁlogÁ’@ž®LäÏë´©†l¶æÞ-d2ed4e8c2a586cf8Átry_cache_interestÁ”£*»interest-cacheÁÔÌ)interest_cacheÁtö+»öÔ«+InterestCacheConfigÁœé-»öÔ‘,$½’$²’À 
  

log_tracerÁbuilderÁæ init_with_filterÁinitÁ >Ø"impl FnOnce() -> boolÁ$enabledÁ% & $«$flushÁ*æ *with_max_levelÁ,impl Into<log::LevelFilter>Á* ignore_crateÁ.impl Into<String>Á*
ignore_allÁ0š0impl IntoIterator<Item = I>Á* 4> format_traceÁdispatch_recordÁ9 : : : AsLogÁ>LogÁ>as_logÁAsTraceÁATraceÁAas_traceÁD'aÁFËFFJËLËL¬L¸FieldsÁPúPêP¸ PÌPš FIELD_NAMESÁWæ log_csÁ TRACE_FIELDSÁZ  DEBUG_FIELDSÁ\  INFO_FIELDSÁ^  WARN_FIELDSÁ`  ERROR_FIELDSÁb  level_to_csÁloglevel_to_csÁfËhËh¬h¸mm 
q¬q¸  u¬u¸
yyNormalizeEventÁ|Ë|normalized_metadataÁ|is_logÁËË µ
LogVisitorÁËê¹ ÌšËŽËŽnew_forÁË record_debugÁ
record_u64Á
record_strÁsealedÁSealedÁ LogTracerÁ˜
ignore_cratesÁš×BuilderÁœ»œfilterÁŸ×
TraceCallsiteÁ¡
TRACE_CSÁ
TRACE_METAÁ¥ set_interestÁ¥metadataÁ
DebugCallsiteÁ¨
DEBUG_CSÁ
DEBUG_METAÁ¬É¬Ý InfoCallsiteÁ¯
INFO_CSÁ INFO_METAÁ³É³Ý WarnCallsiteÁ
WARN_CSÁ WARN_METAÁºÉºÝ
ErrorCallsiteÁ½
ERROR_CSÁ
ERROR_METAÁÁÉÁÝ"
"
%
%
%
(
(
(
)
8
8
9
9
@
C
I
O
k
o
s
w
{













 
 
 
¦
§
­
®
´
µ
»
¼
Â
Ã
>A|—¿c˜˜ª»ëe¤)3jþ¿cœœÛ»žò,“zÃÝè³ù~ù³­úúMetadataÁüÐ ïýêïþlevelÁïÿ¹ ïÌïšïËïƒïñâ¨ï¾1›Ë>»»½¼¾êŽØ¦Õ’â©ËA®'¡¡¢ n>ˆ¿u'¨¨©ì g¹JìɆcö'¯¯°¹ Ú`¾;aßI'·ƒ ]ƒpnâÀJ'½½¾Í ìÌzÓ>¸;7¨¨RecordÁªÝ«À¬¹ ­Ì®šsXkHËA؃LevelÁˆï =·Ù)³…'>Í ÙÚÛErrorÁÜÝÞWarnÁßàInfoÁáâpãä¬6.s KA”!÷øùOffÁúû¢ üý¹ þÿÍ pƒ¬ULH‘¸füAš" LevelFilterÁˆï #¨XCÌhìl>¤#××EventÁÙËûÚÝûÛparentÁûÁQ õ»yË|ñ#˰ïꊹ ÌŒšËüÓ<Æ%ŽÖËš˜Ÿœ ˜4œ$˜DúJ»f¨lpÙt÷x×FúmyL»h¨qÙu÷¥¡¬¨³¯ºÁ½×¿c¬³~ >1A'|#°89>APVZ\^`bde|‡¡¢£¤¨©ª«¯°±²·¸¹½¾¿ÀÀLazyÁ$Å'Ù×Ö'¤,ioÁÛ'¦callsiteÁ$„( CallsiteÁDŠ('
dispatcherÁT™(z Â$±(
FieldÁ,·(ßVisitÁ,¾(°identify_callsiteÁŒÊ( KindÁ$ì(øÛ,ò(
subscriberÁTþ(µû",Š)×D‘)úªL‡+˜6«›+ê›üNK Adapters for connecting unstructured log records from the `log` crate intoÁäO the `tracing` ecosystem.Álútp # OverviewÁúüƒRO [`tracing`] is a framework for instrumenting Rust programs with context-aware,ÁüÖGD structured, event-based diagnostic information. This crate providesÁüžRO compatibility layers for using `tracing` alongside the logging facade providedÁÌñ by the [`log`] crate.ÁúÄ This crate provides:Á¨úü¬XU - [`AsTrace`] and [`AsLog`] traits for converting between `tracing` and `log` types.Áü…QN - [`LogTracer`], a [`log::Log`] implementation that consumes [`log::Record`]sÁü×-* and outputs them as [`tracing::Event`].Áúü‰63 *Compiler support: [requires `rustc` 1.56+][msrv]*ÁÀúüÄ$! [msrv]: #supported-rust-versionsÁéú # UsageÁùúüý.+ ## Convert log records to tracing `Event`sÁ¬úü°VS To convert [`log::Record`]s as [`tracing::Event`]s, set `LogTracer` as the defaultÁü‡C@ logger by calling its [`init`] or [`init_with_filter`] methods.ÁËú ```rustÁäÛ # use std::error::Error;Áüø use tracing_log::LogTracer;Ád˜ use log;Á¥úü©+( # fn main() -> Result<(), Box<Error>> {Á¼Õ LogTracer::init()?;Áíúüñ;8 // will be available for Subscribers as a tracing EventÁü­ (% log::trace!("an example trace log");Á # Ok(())Á # }Á ```Áó úü÷ NK This conversion does not convert unstructured data in log records (such asÁüÆ
HE values passed as format arguments to the `log!` macro) to structuredÁü JG `tracing` fields. However, it *does* attach these new events to to theÁüÚ MJ span that was currently executing when the record was logged. This is theÁü¨ KH primary use-case for this library: making it possible to locate the logÁüô KH records emitted by dependencies which use `log` within the context of aÁ
 trace.ÁË
úüÏ
'$ ## Convert tracing `Event`s to logsÁ÷
úüû
OL Enabling the ["log" and "log-always" feature flags][flags] on the `tracing`ÁüËMJ crate will cause all `tracing` spans and events to emit `log::Record`s asÁ|™ they occur.Á©úü­'$ ## Caution: Mixing both conversionsÁÕúüÙTQ Note that `log::Logger` implementations that convert log records to trace eventsÁü®OL should not be used with `Subscriber`s that convert trace events _back_ intoÁüþXU `log` records, as doing so will result in the event recursing between the subscriberÁü×SP and the logger forever (or, in real life, probably overflowing the call stack).Á«úü¯MJ If the logging of trace events generated from log records produced by theÁüýHE `log` crate is desired, either the `log` crate should not be used toÁüÆGD implement this logging, or an additional layer of filtering will beÁüŽNK required to avoid infinitely converting between `Event` and `log::Record`.ÁÝú¤á ## Feature FlagsÁöúüúTQ * `std`: enables features that require the Rust standard library (on by default)ÁüÏ@= * `log-tracer`: enables the `LogTracer` type (on by default)ÁüLI * `interest-cache`: makes it possible to configure an interest cache forÁüÝa^ logs emitted through the `log` crate (see [`Builder::with_interest_cache`]); requires `std`Á¿úôà ## Supported Rust VersionsÁâúüæMJ Tracing is built against the latest stable release. The minimum supportedÁü´NK version is 1.56. The current Tracing version is not guaranteed to build onÁüƒ=: Rust versions earlier than the minimum supported version.ÁÁúüÅOL Tracing follows the same compiler support policies as the rest of the TokioÁü•MJ project. The current stable Rust compiler and the three most recent minorÁüãLI versions before it will always be supported. For example, if the currentÁü°NK stable compiler version is 1.69, the minimum supported version will not beÁüÿKH increased past 1.66, three minor versions prior. Increasing the minimumÁüËLI supported compiler version is not considered a semver breaking change asÁü˜/, long as doing so complies with this policy.ÁÈúìÌ [`init`]: LogTracer::initÁüê52 [`init_with_filter`]: LogTracer::init_with_filterÁü 1. [`tracing`]: https://crates.io/crates/tracingÁüÒYV [`tracing::Subscriber`]: https://docs.rs/tracing/latest/tracing/trait.Subscriber.htmlÁü¬PM [`Subscriber`]: https://docs.rs/tracing/latest/tracing/trait.Subscriber.htmlÁüýPM [`tracing::Event`]: https://docs.rs/tracing/latest/tracing/struct.Event.htmlÁüÎ HE [flags]: https://docs.rs/tracing/latest/tracing/#crate-feature-flagsÁü—!NK [`Builder::with_interest_cache`]: log_tracer::Builder::with_interest_cacheÁNhttps://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.pngÁlò!+https://github.com/tokio-rs/tracing/issues/Á´Ø"89>APVZ\^`bde|‡¡¢£¤¨©ª«¯°±²·¸¹½¾¿ÀÀRà&fÙ×y¤,Š'ަŸ'© ¹'Ã'
Ó'ßz Âñ
‚( ßš(!°²(E Ö(\øÛo€)Œµû"Ÿ×²úªÅ˜6«Ö7RRR¬´'fÐ'yyŽŽdå'äå'©Dù'ÃÃßßüå'Iñ,©(  !!EEüå'„\\ooŒŒŸŸ²²”ô)üFC An adapter for converting [`log`] records into `tracing` `Event`s.ÁGúüKPM This module provides the [`LogTracer`] type which implements `log`'s [loggerÁüœSP interface] by recording log records as `tracing` `Event`s. This is intended forÁüðKH use in conjunction with a `tracing` `Subscriber` to consume events fromÁü¼B? dependencies that emit [`log`] records within a trace context.Áÿú„1úü“PM To create and initialize a `LogTracer` with the default configurations, use:ÁäúüèHE * [`init`] if you want to convert all logs, regardless of log level,Áü±@= allowing the tracing `Subscriber` to perform any filteringÁüòJG * [`init_with_filter`] to convert all logs up to a specified log levelÁ½úüÁGD In addition, a [builder] is available for cases where more advancedÁü‰PM configuration is required. In particular, the builder can be used to [ignoreÁüÚNK log records][ignore] emitted by particular crates. This is useful in casesÁü©NK such as when a crate emits both `tracing` diagnostics _and_ log records byÁ default.Áúü‰  [logger interface]: log::LogÁüª(% [`init`]: LogTracer.html#method.initÁüÓ@= [`init_with_filter`]: LogTracer.html#method.init_with_filterÁü” # [builder]: LogTracer::builder()Áü¸ %" [ignore]: Builder::ignore_crate()Á»
log-tracerÁ´¥)ôŸ)Tü)"˜œžASetLoggerErrorÁtÿ ïÓ'T¡
zDœú *Ä“

ù܇üJG Returns a builder that allows customizing a `LogTracer` and setting itÁ¼Ð the default logger.Áìú„ô
For example:Á\‰¡3䙵3üºÛ3ƒ4ïúü÷+¥4ħ LogTracer::builder()ÁüÄXU .ignore_crate("foo") // suppose the `foo` crate is using `tracing`'s log featureÁü¡/, .with_max_level(log::LevelFilter::Info)ÁŒÕ .init()?;Áëúüó;†5ü³&# log::info!("an example info log");Áü56¡6<Ž­
¤ÓüËTQ Creates a new `LogTracer` that can then be used as a logger for the `log` crate.Á¤úü¬OL It is generally simpler to use the [`init`] or [`init_with_filter`] methodsÁü€FC which will create the `LogTracer` and set it as the global logger.ÁËúüÓEB Logger setup without the initialization methods can be done with:Áú¡3äµµ3üÖÛ3ƒ4úü“+¥4üÃ" let logger = LogTracer::new();Áüê-* log::set_boxed_logger(Box::new(logger))?;Áüœ0- log::set_max_level(log::LevelFilter::Trace);ÁÑúüÙ;†5ü™(Ë5ü5<×6¡6ïúü÷ [`init`]: LogTracer::init()Áü›30 [`init_with_filter`]: .#method.init_with_filterÁÚù
üîNüÈ=: Sets up `LogTracer` as global logger for the `log` crate,ÁüŠ-* with the given level as max level filter.Á¼úüÄ2/ Setting a global logger can only be done once.ÁûúüƒLI The [`builder`] function can be used to customize the `LogTracer` beforeÁ¤Ô initializing it.Áíúüõ%" [`builder`]: LogTracer::builder()Á»À¼Ÿ„õš"Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ïïðŽcñˆ `˜ œà¡A
¼,†ü—(+üÿ@= Sets a `LogTracer` as the global logger for the `log` crate.ÁÄ úüÌ 2¬pƒ!ú\‹!¡3ä›!µ3ü¼!Û3dà!ƒ4ñ!úüù!+¥4¼©"Ù4Å"úüÍ";†5ü#(Ë5dº#ü5<Ë#6<×#¡6ã#úüë#MJ This will forward all logs to `tracing` and lets the current `Subscriber`Áü½$" determine if they are enabled.Áä$úüì$Lôp¤½%ÉqÖ%úüÞ%>; If you know in advance you want to filter some log levels,Áü¡&41 use [`builder`] or [`init_with_filter`] instead.ÁÚ&úüâ&74 [`init_with_filter`]: LogTracer::init_with_filter()Áüž'%óq»À|Î'¼È'$ž(Ès
Ôí(ù!´!¤Ž)<)ù 
!üö*U»öÔÆ*»À|â*üÅ*-üÁ*2ü¸*=”ù*ÄÅ Ä»»½¼¾êŽØ¦Õ’â©Å¹ ¹ ## +ÍìË|¬­+"Ë|t„²+Ë|t˜"$¾+
"Ë| Œ+callbackÁD£+GIÜà+ù%())(%ü‚,7<…,ÆÇÈ Æù Ç»»½¼¾êŽØ¦Õ’â©È$ ,$
%$Ž,ÝD”,™3%<closure_kind>Á&<closure_signature>Á&<upvars>Á&&%&t  »»½¼¾êŽØ¦Õ’â©T–4%À~'Ø~'õ~''%' ¸¸DispatchÁ¹€)z.páIW÷:¼¢€üß4'â4ÉÊË Éù ʨ¨âªÝ«À¬¹ ­Ì®šsXkHËt$ æ4$
($ç4recordÁ4í4|÷5,ú5Ì Ìù–t$ €6$
)$6dª6­+,.03¤ƒ7ü½696 Retur
disabled.ÁÞ8úüæ82/ By default, all `log` records will be enabled.Át¤9­¢ ­*¢ --*ÍìÕ‡ÜÁ9æÕ‡š"´Æ9
,Õ‡$³9ò4¹9.0üâ<>ü·:EB Configures the `LogTracer` to ignore all log records whose targetÁü;! starts with the given string.Á§;úü¯;IF This should be used when a crate enables the `tracing/log` feature toÁüý;HE emit log records for tracing events. Otherwise, those events will beÁœÊ< recorded twice.Ádé<­× ­*× //*Íì©‹Œ†=æ©‹úHúHßûHÁ‘4Ý­f‰úM÷d‹=
.©‹$ú<Ð $€=Y[ü¦@jüé=EЇü³>30 starts with any of the given the given strings.Áë>úüó>IÖˆüÁ?H©‰œŽ@ú‰T­@­
­*š1
221*Íìš ¸@ÍìâÜÉ@曎é‹dƒAÇLâ´Î@âÈL›ŽDÛ@
0›Žâ$»@cratesÁ4Á@moiküþN3üçLLI Constructs a new `LogTracer` with the provided configuration and sets itÁÔ¸M as the default logger.Á×MúüßM2¬p»À|œN¼–N$…O­Ès**
3$ŽOÄ«R­5´5¤ÊR<ÍR­44
5Üõ*ÅÖÖü½.?üÿ-=: Format a log record as a trace event in the current span.ÁdÄ.ÍΠͨ¨âªÝ«À¬¹ ­Ì®šsXkHÎÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
–tßߢ à ¬
ÑøÿËO Ÿ Ù.
8À‚4Ñ.üÚ07|è0ÏРϨ¨âªÝ«À¬¹ ­Ì®šsXkHÐt €1
9À‚4ø0T°19À~:Ø~:õ~::9:´–t  ¨¨âªÝ«À¬¹ ­Ì®šsXkHž49À~;Ø~;õ~;;9;   »–tä49À~<Ø~<õ~<<9<–˜tª59À~=Ø~=õ~==9= ¢˜tü›9&üÀ8JG Trait implemented for `tracing` types that can be converted to a `log`Á|9 equivalent.Á,¥9>>Îìü›9Èúš¬¬9>òš)†›òš5†›)?@?@Íìúš?L…:›@D…:üÈ985 The `log` type that this type can be converted into.ÁŠ:>>ôÃ:ü“:+( Returns the `log` equivalent of `self`.Á4Æ:Ñ ÑúšÊ›> Í:>
@úš$Î:üÀ;(üå:JG Trait implemented for `log` types that can be converted to a `tracing`Á|°;È™<Ê;AAòšüÀ;؆›¬Ó;Aòš!†›òš-†›)BCBCÍìúšB\°<…ŸCT°<üï;<9 The `tracing` type that this type can be converted into.Á,µ<AAüô<"üÀ</, Returns the `tracing` equivalent of `self`.ÁD÷<Ò ÒúšŸA €=A
Cúš$=üš=/ËEEŸ=üÎ=ËGGHI?@IÓ=Dô=ù=FF®ì–>4™>Ó Ó?F  >F
IË$¡>üÁ?4ËKK®Æ?üú?&ËMM®NOBCOÿ?T§@,¬@LLüÆ@!DÉ@Ô Ô®®BL Ò@L
OË$Ó@l»C4ÂCPPQúRêS¸ TÌUši™!ìfi™!ìfQRSTU¬ÏC<ÏCPPßß‚(à´áËTV°Þdò­%¤êC4êCPP²¥¤„D4„DPP²¥”žD$žDPP²¥”¶D$¶DPP²¥ÜÍD\ÔD
ÿÿ\ÊE²¤XüÜE)ßE '²¤WW
XcsÁãEœãI4ðI ÷I ©O ýI ¬J, þI8¼,ÿI& „J8$…J$ ‰J, J8õ¦ŒJ& ŽJ8¼,J$ ”J, J8û$—J& J8¼,œJ$ ¡J, £J8´¤J& ¦J8¼,§J*®J ±J ¦O$84»J, ÂJ8´ÃJ% ÅJ84ÏJ, ÖJ8õ¦×J& ÙJ, ÛJ8´ÜJ ßJ, áJ8´âJ% äJ84îJ, õJ8û$öJ& úJ8DüJ „K:7<…K ŒK ŽK8DK'˜K8æ šK K ÇM-7 log eventÁ\«K$ ¶K7«,ÄK$ ÉK, ×K8¼,ØK$ ÝK'ëK8í$íK'ñK8³
4óK'ùK8¬4ûK'L8©$ƒL$ ‡L'•L8í$—L'L8³
4L'£L8¬4¥L'«L8©$­L$ ±L'¿L8í$ÁL'ÅL8³
4ÇL'ÍL8¬4ÏL'ÕL8©$×L$ ÛL8Â,éL'îL8FieldSetÁDðL'øL8æ úL ýL £M8Á\þL$ ‰M8²(Œ‹M œM M ¢M žM, ŸM8õ¦ M$ ¤M8Ö($²M'¶M8EVENTÁ,¸M$ ½M% ÈM8$ÓM8Ÿ'DØM'àM8¹'DâM8
ëM, ïM8´ðM óM  O8 N8Éd„N N ¯N N8$N$ N8 ˜N& ™N8€)TN'¥N8InterestÁD§N ±N ²N8 ÀN8ÝDÃN ËN ÑN ÌN8$ÍN(ÓN ÖN:7<×N8DßN çN:7<èN ïN ñN O ƒO, „O8û$…O% §OüÍR!dÔRÙÙà&ÜcellÁ¥Ý ¥†ü@ä+V—²¤²¤ÃØÐÿÿÿÿÿÿÿÿØûRZÀ~[Ø~[õ~[[Z[t²¤–tü—S!džSѲÃØÐÿÿÿÿÿÿÿÿØÅS\À~]Ø~]õ~]]\]•´tüáS \èSѲÃØÐÿÿÿÿÿÿÿÿØŽT^À~_Ø~_õ~__^_•´tü©T \°TѲÃØÐÿÿÿÿÿÿÿÿØÖT`À~aØ~aõ~aa`a•´tüñT!døTѲÃØÐÿÿÿÿÿÿÿÿØŸUbÀ~cØ~cõ~ccbc•´tü¼UH\¿UÍ Ò§ ²¤
d¼,ËUü¥X‚t¨X”!Ò§ê¹ úúüÐ ïýêïþ¼ïÿ¹ ïÌïšïËïƒïñâ¨ï¾1›
e¼,¼Xü \2ËggØ¥\ü×\$ËiiØjkBCkÜ\T],‡]hhü¡]!D¤]Õ ÕØØBh ­]h
kË$®]ü²`2Í üé`"Í no?@oDa—amm”!ô­a4°aÖ ÖÍ ”!m ·am