ILoggingChannel interface
Represents a source of log messages.
Syntax
Members
The ILoggingChannel interface has these types of members:
Events
The ILoggingChannel interface has these events.
| Event | Description |
|---|---|
| LoggingEnabled | Raised when the logging channel is attached to a LoggingSession or other event tracing and debugging tools. |
Methods
The ILoggingChannel interface has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| LogMessage(String) | Logs a message to the current LoggingChannel. |
| LogMessage(String,LoggingLevel) | Logs a message to the current LoggingChannel with the specified LoggingLevel. |
| LogValuePair(String,Int32) | Logs data to the current LoggingChannel. |
| LogValuePair(String,Int32,LoggingLevel) | Logs data to the current LoggingChannel with the specified LoggingLevel. |
Properties
The ILoggingChannel interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only | Gets a value that indicates whether messages are being logged on the current LoggingChannel. | |
|
Read-only | Gets the level of detail for messages from the current LoggingChannel. | |
|
Read-only | Gets the name of the current LoggingChannel. |
Requirements (Windows 10 device family)
| |
|
API contract |
|
|
Namespace |
|
|
Metadata |
|
Requirements (Windows 8.x and Windows Phone 8.x)
|
Minimum supported client |
Windows 8.1 |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Namespace |
|
|
Metadata |
|
Attributes
- [Version(0x06030000)]
See also
Show: