LoggingApi

Trait LoggingApi 

Source
pub trait LoggingApi: Send + Sync {
    // Required methods
    fn get_logger<'logger_name, 'life0, 'async_trait>(
        &'life0 self,
        logger_name: &'logger_name str,
    ) -> Pin<Box<dyn Future<Output = Result<LoggerInfo, Error<GetLoggerError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'logger_name: 'async_trait,
             'life0: 'async_trait;
    fn get_logger1<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<LoggerBean, Error<GetLogger1Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_logger<'logger_name, 'logger_info, 'life0, 'async_trait>(
        &'life0 self,
        logger_name: &'logger_name str,
        logger_info: LoggerInfo,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutLoggerError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'logger_name: 'async_trait,
             'logger_info: 'async_trait,
             'life0: 'async_trait;
    fn remove_logger<'logger_name, 'life0, 'async_trait>(
        &'life0 self,
        logger_name: &'logger_name str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveLoggerError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'logger_name: 'async_trait,
             'life0: 'async_trait;
}
Available on crate feature logging_api only.

Required Methods§

Source

fn get_logger<'logger_name, 'life0, 'async_trait>( &'life0 self, logger_name: &'logger_name str, ) -> Pin<Box<dyn Future<Output = Result<LoggerInfo, Error<GetLoggerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'logger_name: 'async_trait, 'life0: 'async_trait,

GET /logging/{loggerName}

Source

fn get_logger1<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<LoggerBean, Error<GetLogger1Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /logging

Source

fn put_logger<'logger_name, 'logger_info, 'life0, 'async_trait>( &'life0 self, logger_name: &'logger_name str, logger_info: LoggerInfo, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutLoggerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'logger_name: 'async_trait, 'logger_info: 'async_trait, 'life0: 'async_trait,

PUT /logging/{loggerName}

Source

fn remove_logger<'logger_name, 'life0, 'async_trait>( &'life0 self, logger_name: &'logger_name str, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveLoggerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'logger_name: 'async_trait, 'life0: 'async_trait,

DELETE /logging/{loggerName}

Implementors§