Example #1
0
 /// <summary>
 /// Enriches a given log event with data from the current <see cref="OperationContext"/>.
 /// </summary>
 /// <param name="logEvent">The log event to enrich.</param>
 /// <param name="propertyFactory">Factory for creating new properties to add to the event.</param>
 internal static void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
 {
     OperationLogContext.EnrichLogEvent(logEvent, propertyFactory);
 }