We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a707bb9 commit af0b7d1Copy full SHA for af0b7d1
opentelemetry/src/logs/record.rs
@@ -61,6 +61,12 @@ pub trait LogRecord {
61
}
62
63
/// Value types for representing arbitrary values in a log record.
64
+/// Note: The `tracing` and `log` crates only natively support basic types
65
+/// such as `i64`, `f64`, `StringValue`, and `bool`. The boxed types
66
+/// (`Bytes`, `ListAny`, and `Map`) are included to support custom appenders
67
+/// for other logging crates, as required by specifications.
68
+/// These types allow for handling dynamic data structures, so be mindful
69
+/// of the potential performance overhead associated with boxed vectors and maps.
70
#[derive(Debug, Clone, PartialEq)]
71
#[non_exhaustive]
72
pub enum AnyValue {
0 commit comments