Skip to content

Commit af75932

Browse files
committed
fix
1 parent 53c2165 commit af75932

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

sentry-log/src/logger.rs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,6 @@ pub enum RecordMapping {
3838
/// Captures the [`sentry_core::protocol::Log`] to Sentry.
3939
#[cfg(feature = "logs")]
4040
Log(sentry_core::protocol::Log),
41-
/// Captures multiple items to Sentry.
42-
/// Nesting multiple `RecordMapping::Combined` is not supported and will cause the mappings to
43-
/// be ignored.
44-
Combined(CombinedRecordMapping),
45-
}
46-
47-
/// A list of record mappings.
48-
#[derive(Debug)]
49-
pub struct CombinedRecordMapping(Vec<RecordMapping>);
50-
51-
impl From<RecordMapping> for CombinedRecordMapping {
52-
fn from(value: RecordMapping) -> Self {
53-
match value {
54-
RecordMapping::Combined(combined) => combined,
55-
_ => CombinedRecordMapping(vec![value]),
56-
}
57-
}
58-
}
59-
60-
impl From<Vec<RecordMapping>> for CombinedRecordMapping {
61-
fn from(value: Vec<RecordMapping>) -> Self {
62-
Self(value)
63-
}
6441
}
6542

6643
impl From<RecordMapping> for Vec<RecordMapping> {

0 commit comments

Comments
 (0)