pub trait ILoggingSession_Impl: Sized + IClosable_Impl {
    // Required methods
    fn Name(&self) -> Result<HSTRING>;
    fn SaveToFileAsync(
        &self,
        folder: Option<&IStorageFolder>,
        filename: &HSTRING
    ) -> Result<IAsyncOperation<StorageFile>>;
    fn AddLoggingChannel(
        &self,
        loggingchannel: Option<&ILoggingChannel>
    ) -> Result<()>;
    fn AddLoggingChannelWithLevel(
        &self,
        loggingchannel: Option<&ILoggingChannel>,
        maxlevel: LoggingLevel
    ) -> Result<()>;
    fn RemoveLoggingChannel(
        &self,
        loggingchannel: Option<&ILoggingChannel>
    ) -> Result<()>;
}

Required Methods§

fn Name(&self) -> Result<HSTRING>

fn SaveToFileAsync( &self, folder: Option<&IStorageFolder>, filename: &HSTRING ) -> Result<IAsyncOperation<StorageFile>>

fn AddLoggingChannel( &self, loggingchannel: Option<&ILoggingChannel> ) -> Result<()>

fn AddLoggingChannelWithLevel( &self, loggingchannel: Option<&ILoggingChannel>, maxlevel: LoggingLevel ) -> Result<()>

fn RemoveLoggingChannel( &self, loggingchannel: Option<&ILoggingChannel> ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§