add bounded history sink (#1)

This commit is contained in:
Nanaloveyuki
2026-08-11 13:30:58 +08:00
committed by GitHub
parent 0b05ee0c94
commit aab7a94ae2
38 changed files with 318 additions and 26 deletions
+4 -1
View File
@@ -93,6 +93,8 @@ pub fn global_style_tag_registry() -> @formatting.StyleTagRegistry
pub fn has_field(String) -> (@core.Record) -> Bool
pub fn history_sink(capacity? : Int) -> @sink_graph.HistorySink
pub fn identity_patch() -> (@core.Record) -> @core.Record
pub fn info(String, fields? : Array[@core.Field]) -> Unit
@@ -318,6 +320,8 @@ pub using @sink_graph {type FormattedCallbackSink}
pub using @sink_graph {type FormattedConsoleSink}
pub using @sink_graph {type HistorySink}
pub using @sink_graph {type JsonConsoleSink}
pub using @core {type Level}
@@ -367,4 +371,3 @@ pub using @core {type TraceContext}
pub using @sink_graph {trait Sink}
// Traits