pub trait MakeBody:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn create(
&self,
record: &Record<'_>,
diags: &[Box<dyn Diagnostic>],
) -> Result<AnyValue, Error>;
}Expand description
A trait for formatting log records into a body that can be sent to OpenTelemetry.
Required Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".