pub trait LogProcessor:
Send
+ Sync
+ Debug {
// Required methods
fn process(&self, entry: LogEntry) -> ObservabilityResult<LogEntry>;
fn name(&self) -> &'static str;
}Expand description
Core processor interface - transforms log entries
Required Methods§
Sourcefn process(&self, entry: LogEntry) -> ObservabilityResult<LogEntry>
fn process(&self, entry: LogEntry) -> ObservabilityResult<LogEntry>
Process and transform a log entry