mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-30 06:26:38 +00:00
✨ add wasm coverage and trace context
This commit is contained in:
@@ -93,6 +93,14 @@ pub fn[S] LibraryAsyncLogger::bind(
|
||||
self.with_context_fields(fields)
|
||||
}
|
||||
|
||||
///|
|
||||
pub fn[S] LibraryAsyncLogger::with_trace_context(
|
||||
self : LibraryAsyncLogger[S],
|
||||
context : @bitlogger.TraceContext,
|
||||
) -> LibraryAsyncLogger[S] {
|
||||
library_async_logger(self.inner.with_trace_context(context))
|
||||
}
|
||||
|
||||
///|
|
||||
pub fn[S] LibraryAsyncLogger::is_enabled(
|
||||
self : LibraryAsyncLogger[S],
|
||||
|
||||
Reference in New Issue
Block a user