ILogger.LogMetric Method

Definition

Overloads

LogMetric(String, Int64)

For internal use only.

LogMetric(String, IDictionary<String,String>, Int64)

For internal use only.

LogMetric(String, Int64)

For internal use only.

public:
 void LogMetric(System::String ^ metricName, long value);
public void LogMetric (string metricName, long value);
abstract member LogMetric : string * int64 -> unit
Public Sub LogMetric (metricName As String, value As Long)

Parameters

metricName
String

Name of the metric.

value
Int64

Value that needs to be published.

Applies to

LogMetric(String, IDictionary<String,String>, Int64)

For internal use only.

public:
 void LogMetric(System::String ^ metricName, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ metricDimensions, long value);
public void LogMetric (string metricName, System.Collections.Generic.IDictionary<string,string> metricDimensions, long value);
abstract member LogMetric : string * System.Collections.Generic.IDictionary<string, string> * int64 -> unit
Public Sub LogMetric (metricName As String, metricDimensions As IDictionary(Of String, String), value As Long)

Parameters

metricName
String

Name of the metric.

metricDimensions
IDictionary<String,String>

Custom properties that needs to be published.

value
Int64

Value that needs to be published.

Applies to