Skip to content

Commit

Permalink
rebase on master and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Aug 8, 2023
1 parent 719edec commit 06d9ee8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vector-core/src/event/log_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ impl LogEvent {
}

/// Merge all fields specified at `fields` from `incoming` to `current`.
/// Note that `fields` containing dots and other special characters will be treated as a single segment.
pub fn merge(&mut self, mut incoming: LogEvent, fields: &[impl AsRef<str>]) {
for field in fields {
let field_path = event_path!(field.as_ref());
Expand Down

0 comments on commit 06d9ee8

Please sign in to comment.