Beispiel #1
0
 internal static void LogFunctionResultAggregate(this ILogger logger, FunctionResultAggregate resultAggregate)
 {
     // we won't output any string here, just the data
     logger.Log(LogLevel.Information, 0, resultAggregate.ToReadOnlyDictionary(), null, (s, e) => null);
 }
        internal static void LogFunctionResultAggregate(this ILogger logger, FunctionResultAggregate resultAggregate)
        {
            // we won't output any string here, just the data
            FormattedLogValuesCollection payload = new FormattedLogValuesCollection(string.Empty, null, resultAggregate.ToReadOnlyDictionary());

            logger.Log(LogLevel.Information, 0, payload, null, (s, e) => s.ToString());
        }