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.