pub trait VmgsLogger: Send + Sync {
// Required method
fn log_event_fatal<'life0, 'async_trait>(
&'life0 self,
event: VmgsLogEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
A trait for sending log event to the host.
Required Methods§
Sourcefn log_event_fatal<'life0, 'async_trait>(
&'life0 self,
event: VmgsLogEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn log_event_fatal<'life0, 'async_trait>(
&'life0 self,
event: VmgsLogEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a fatal event with the given id to the host.