Struct winrt::windows::foundation::diagnostics::ILoggingChannel
[−]
[src]
#[repr(C)]pub struct ILoggingChannel { /* fields omitted */ }
Methods
impl ILoggingChannel
[src]
unsafe fn get_name(&self) -> Result<HString>
unsafe fn get_enabled(&self) -> Result<bool>
unsafe fn get_level(&self) -> Result<LoggingLevel>
unsafe fn log_message(&self, eventString: &HStringArg) -> Result<()>
unsafe fn log_message_with_level(
&self,
eventString: &HStringArg,
level: LoggingLevel
) -> Result<()>
&self,
eventString: &HStringArg,
level: LoggingLevel
) -> Result<()>
unsafe fn log_value_pair(&self, value1: &HStringArg, value2: i32) -> Result<()>
unsafe fn log_value_pair_with_level(
&self,
value1: &HStringArg,
value2: i32,
level: LoggingLevel
) -> Result<()>
&self,
value1: &HStringArg,
value2: i32,
level: LoggingLevel
) -> Result<()>
unsafe fn add_logging_enabled(
&self,
handler: &TypedEventHandler<ILoggingChannel, IInspectable>
) -> Result<EventRegistrationToken>
&self,
handler: &TypedEventHandler<ILoggingChannel, IInspectable>
) -> Result<EventRegistrationToken>
unsafe fn remove_logging_enabled(
&self,
token: EventRegistrationToken
) -> Result<()>
&self,
token: EventRegistrationToken
) -> Result<()>
Methods from Deref<Target = IInspectable>
fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Trait Implementations
impl ComIid for ILoggingChannel
[src]
impl ComInterface for ILoggingChannel
[src]
type Vtbl = ILoggingChannelVtbl
The type that defines the VTable of this interface.
impl RtType for ILoggingChannel
[src]
type In = ILoggingChannel
type Abi = *mut ILoggingChannel
type Out = ComPtr<ILoggingChannel>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl Deref for ILoggingChannel
[src]
type Target = IInspectable
The resulting type after dereferencing
fn deref(&self) -> &IInspectable
The method called to dereference a value
impl DerefMut for ILoggingChannel
[src]
fn deref_mut(&mut self) -> &mut IInspectable
The method called to mutably dereference a value