mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-28 02:42:21 +00:00
✨ add wasm coverage and trace context
This commit is contained in:
@@ -274,6 +274,14 @@ pub fn[S] AsyncLogger::with_context_fields(
|
||||
{ ..self, context_fields: fields }
|
||||
}
|
||||
|
||||
///|
|
||||
pub fn[S] AsyncLogger::with_trace_context(
|
||||
self : AsyncLogger[S],
|
||||
context : @bitlogger.TraceContext,
|
||||
) -> AsyncLogger[S] {
|
||||
self.with_context_fields(context.as_fields())
|
||||
}
|
||||
|
||||
///|
|
||||
pub fn[S] AsyncLogger::with_filter(
|
||||
self : AsyncLogger[S],
|
||||
|
||||
Reference in New Issue
Block a user