NLog by Jarek Kowalski,Kim Christensen,Julian Verdurmen

<PackageReference Include="NLog" Version="4.7.13" />

.NET API 822,272 bytes

 TargetWithContext

public bool IncludeCallSite { get; set; }

public bool IncludeCallSiteStackTrace { get; set; }

public bool IncludeEventProperties { get; set; }

public bool IncludeGdc { get; set; }

public bool IncludeMdc { get; set; }

public bool IncludeMdlc { get; set; }

public bool IncludeNdc { get; set; }

public bool IncludeNdlc { get; set; }

protected TargetWithContext()

protected virtual IDictionary<string, object> CaptureContextGdc(LogEventInfo logEvent, IDictionary<string, object> contextProperties)

protected virtual IDictionary<string, object> CaptureContextMdc(LogEventInfo logEvent, IDictionary<string, object> contextProperties)

protected virtual IDictionary<string, object> CaptureContextMdlc(LogEventInfo logEvent, IDictionary<string, object> contextProperties)

protected virtual IList<object> CaptureContextNdc(LogEventInfo logEvent)

protected virtual IList<object> CaptureContextNdlc(LogEventInfo logEvent)

protected virtual string GenerateUniqueItemName(LogEventInfo logEvent, string itemName, object itemValue, IDictionary<string, object> combinedProperties)

protected IDictionary<string, object> GetAllProperties(LogEventInfo logEvent)

protected IDictionary<string, object> GetAllProperties(LogEventInfo logEvent, IDictionary<string, object> combinedProperties)

protected IDictionary<string, object> GetContextMdc(LogEventInfo logEvent)

protected IDictionary<string, object> GetContextMdlc(LogEventInfo logEvent)

protected IList<object> GetContextNdc(LogEventInfo logEvent)

protected IList<object> GetContextNdlc(LogEventInfo logEvent)

protected IDictionary<string, object> GetContextProperties(LogEventInfo logEvent)

protected IDictionary<string, object> GetContextProperties(LogEventInfo logEvent, IDictionary<string, object> combinedProperties)

protected virtual bool SerializeItemValue(LogEventInfo logEvent, string name, object value, out object serializedValue)

protected virtual bool SerializeMdcItem(LogEventInfo logEvent, string name, object value, out object serializedValue)

protected virtual bool SerializeMdlcItem(LogEventInfo logEvent, string name, object value, out object serializedValue)

protected virtual bool SerializeNdcItem(LogEventInfo logEvent, object value, out object serializedValue)

protected virtual bool SerializeNdlcItem(LogEventInfo logEvent, object value, out object serializedValue)

protected bool ShouldIncludeProperties(LogEventInfo logEvent)