ILoggingChannel.LogValuePair Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LogValuePair(String, Int32) |
Logs data to the current LoggingChannel. |
LogValuePair(String, Int32, LoggingLevel) |
Logs data to the current LoggingChannel with the specified LoggingLevel. |
LogValuePair(String, Int32)
Logs data to the current LoggingChannel.
public:
void LogValuePair(Platform::String ^ value1, int value2);
/// [Windows.Foundation.Metadata.Overload("LogValuePair")]
void LogValuePair(winrt::hstring const& value1, int const& value2);
[Windows.Foundation.Metadata.Overload("LogValuePair")]
public void LogValuePair(string value1, int value2);
function logValuePair(value1, value2)
Public Sub LogValuePair (value1 As String, value2 As Integer)
Parameters
- value1
-
String
Platform::String
winrt::hstring
The string to associate with value2.
- value2
-
Int32
int
The value to associate with value1.
- Attributes
See also
Applies to
LogValuePair(String, Int32, LoggingLevel)
Logs data to the current LoggingChannel with the specified LoggingLevel.
public:
void LogValuePair(Platform::String ^ value1, int value2, LoggingLevel level);
/// [Windows.Foundation.Metadata.Overload("LogValuePairWithLevel")]
void LogValuePair(winrt::hstring const& value1, int const& value2, LoggingLevel const& level);
[Windows.Foundation.Metadata.Overload("LogValuePairWithLevel")]
public void LogValuePair(string value1, int value2, LoggingLevel level);
function logValuePair(value1, value2, level)
Public Sub LogValuePair (value1 As String, value2 As Integer, level As LoggingLevel)
Parameters
- value1
-
String
Platform::String
winrt::hstring
The string to associate with value2.
- value2
-
Int32
int
The value to associate with value1.
- level
- LoggingLevel
The logging level.
- Attributes