mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-09-07 18:03:47 +00:00
✨ add bounded history sink (#1)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user