Skip to content

Pact Logging LoggingExtensions LogDifference T (Microsoft Extensions Logging ILogger System Collections Generic Dictionary string object T string object )

welshronaldo edited this page May 30, 2022 · 6 revisions

LoggingExtensions.LogDifference<T>(ILogger, Dictionary<string,object>, T, string, object[]) Method

Logs all properties on the objects and, where differences exist, denotes the original value with a prefixed key

public static void LogDifference<T>(this Microsoft.Extensions.Logging.ILogger logger, System.Collections.Generic.Dictionary<string,object> original, T updated, string message, params object[] args);

Type parameters

T

Parameters

logger Microsoft.Extensions.Logging.ILogger

original System.Collections.Generic.Dictionary<System.String,System.Object>

updated T

message System.String

args System.Object[]

Clone this wiki locally