pub trait IFileLoggingSession_Impl: Sized + IClosable_Impl {
// Required methods
fn Name(&self) -> Result<HSTRING>;
fn AddLoggingChannel(
&self,
loggingchannel: Option<&ILoggingChannel>
) -> Result<()>;
fn AddLoggingChannelWithLevel(
&self,
loggingchannel: Option<&ILoggingChannel>,
maxlevel: LoggingLevel
) -> Result<()>;
fn RemoveLoggingChannel(
&self,
loggingchannel: Option<&ILoggingChannel>
) -> Result<()>;
fn CloseAndSaveToFileAsync(&self) -> Result<IAsyncOperation<StorageFile>>;
fn LogFileGenerated(
&self,
handler: Option<&TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs>>
) -> Result<EventRegistrationToken>;
fn RemoveLogFileGenerated(
&self,
token: &EventRegistrationToken
) -> Result<()>;
}
Required Methods§
fn Name(&self) -> Result<HSTRING>
fn AddLoggingChannel( &self, loggingchannel: Option<&ILoggingChannel> ) -> Result<()>
fn AddLoggingChannelWithLevel( &self, loggingchannel: Option<&ILoggingChannel>, maxlevel: LoggingLevel ) -> Result<()>
fn RemoveLoggingChannel( &self, loggingchannel: Option<&ILoggingChannel> ) -> Result<()>
fn CloseAndSaveToFileAsync(&self) -> Result<IAsyncOperation<StorageFile>>
fn LogFileGenerated( &self, handler: Option<&TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs>> ) -> Result<EventRegistrationToken>
fn RemoveLogFileGenerated(&self, token: &EventRegistrationToken) -> Result<()>
Object Safety§
This trait is not object safe.