Represents a source of log messages.
The LoggingChannel class has these types of members:
The LoggingChannel class has these constructors.
|LoggingChannel||Initializes a new instance of the LoggingChannel class.|
The LoggingChannel class has these events.
|LoggingEnabled||Raised when the logging channel is attached to a LoggingSession or other event tracing and debugging tools.|
The LoggingChannel class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
|Dispose [C#, VB]||Performs tasks associated with freeing, releasing, or resetting unmanaged resources.|
|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.|
The LoggingChannel class has these properties.
|Read-only||Gets a value that indicates whether messages are being logged on the current channel.|
|Read-only||Gets the level of detail for messages from the current logging channel.|
|Read-only||Gets the name of the current LoggingChannel.|
Minimum supported client
|Windows 8.1 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 R2 [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]|