コード例 #1
0
 public DefaultCacheMonitor(CacheMonitorDimensions dimensions, ITelemetryProducer telemetryProducer)
     : this(telemetryProducer)
 {
     this.LogProperties = new Dictionary <string, string>
     {
         { "QueueId", dimensions.QueueId },
     };
 }
コード例 #2
0
 public DefaultCacheMonitor(CacheMonitorDimensions dimensions, Logger logger)
     : this(logger)
 {
     this.LogProperties = new Dictionary <string, string>
     {
         { "QueueId", dimensions.QueueId },
         { "HostName", dimensions.NodeConfig.HostNameOrIPAddress }
     };
 }