public static MetricLogger CreateLogger( Context context, string?monitoringAccount, string logicalNameSpace, string metricName, bool addDefaultDimensions, IEnumerable <Dimension> dimensions) { #if MICROSOFT_INTERNAL return(WindowsMetricLogger.Create(context, monitoringAccount, logicalNameSpace, metricName, addDefaultDimensions, dimensions)); #else return(NoOpMetricLogger.Instance); #endif }
public static void InitializeMdmDefaultDimensions(Context context, List <DefaultDimension> defaultDimensions) { #if MICROSOFT_INTERNAL WindowsMetricLogger.InitializeDefaultDimensions(context, defaultDimensions); #endif }