1
2
3
4
5
6
7
8
9
10
use vector_lib::internal_event::InternalEvent;

#[derive(Debug)]
pub struct DemoLogsEventProcessed;

impl InternalEvent for DemoLogsEventProcessed {
    fn emit(self) {
        trace!(message = "Received one event.");
    }
}