[−][src]Trait service_logging::Logger
Trait for logging service that receives log messages
Required methods
#[must_use]pub fn send<'life0, 'async_trait>(
&'life0 self,
sub: &'static str,
entries: Vec<LogEntry>
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
sub: &'static str,
entries: Vec<LogEntry>
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Send entries to logger
Implementors
impl Logger for CoralogixLogger
[src]
pub fn send<'life0, 'async_trait>(
&'life0 self,
sub: &'static str,
entries: Vec<LogEntry>
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
sub: &'static str,
entries: Vec<LogEntry>
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Send logs to Coralogix service. May return error if there was a problem sending.