pub struct StandardLogAdapter { /* private fields */ }Expand description
Standard logging adapter that hooks into Rust’s log crate
Implementations§
Source§impl StandardLogAdapter
impl StandardLogAdapter
pub fn new( processor_chain: ProcessorChain, transport: Arc<dyn TransportPort>, directives: LogDirectives, ) -> Self
Trait Implementations§
Source§impl Log for StandardLogAdapter
impl Log for StandardLogAdapter
Source§impl StandardLoggingPort for StandardLogAdapter
impl StandardLoggingPort for StandardLogAdapter
Source§fn initialize(&self) -> ObservabilityResult<()>
fn initialize(&self) -> ObservabilityResult<()>
Initialize the logging system (called once during agent startup)
Source§fn process_standard_log(&self, entry: LogEntry) -> ObservabilityResult<()>
fn process_standard_log(&self, entry: LogEntry) -> ObservabilityResult<()>
Process a log entry from standard logging macros
Auto Trait Implementations§
impl Freeze for StandardLogAdapter
impl !RefUnwindSafe for StandardLogAdapter
impl Send for StandardLogAdapter
impl Sync for StandardLogAdapter
impl Unpin for StandardLogAdapter
impl UnsafeUnpin for StandardLogAdapter
impl !UnwindSafe for StandardLogAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more