Beispiel #1
0
 /// <summary>
 /// Sends count metric into a <see cref="IStatsdClient"/>
 /// </summary>
 /// <param name="name">Name of a metric</param>
 /// <param name="value">Number of times something happened</param>
 public static void LogCount(string name, int value)
 {
     _statsdClient.LogCount(name, value);
 }
 /// <summary>
 /// Sends count metric into a <see cref="IStatsdClient"/>
 /// </summary>
 /// <param name="self">An instance of the <see cref="IStatsdClient"/></param>
 /// <param name="name">Name of a metric</param>
 /// <param name="value">Number of times something happened</param>
 public static IStatsdClient LogCount(this IStatsdClient self, string name, int value)
 {
     self.LogCount(new Count(name, value));
     return(self);
 }