/// <summary>
 /// Enriches logging with Service Fabric specific properties
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="context">Stateful or stateless service context</param>
 /// <returns></returns>
 public static ILogConfiguration AzureServiceFabricContext(this IEnricherConfiguration configuration, ServiceContext context)
 {
     return(configuration.Custom(new ServiceFabricEnricher(context)));
 }
 /// <summary>
 /// Enrich by this machine's IP address
 /// </summary>
 public static ILogConfiguration MachineIpAddress(this IEnricherConfiguration configuration, bool includeIpV6 = false)
 {
     return(configuration.Custom(new MachineIpEnricher(includeIpV6)));
 }
 /// <summary>
 /// Enrich with a consatant value which will always be added to every log event
 /// </summary>
 public static ILogConfiguration Constant(this IEnricherConfiguration configuration,
                                          string propertyName,
                                          string propertyValue)
 {
     return(configuration.Custom(new ConstantEnricher(propertyName, propertyValue)));
 }
 /// <summary>
 /// Enrich with current machine name
 /// </summary>
 public static ILogConfiguration MachineName(this IEnricherConfiguration configuration)
 {
     return(configuration.Custom(new MachineNameEnricher()));
 }
 /// <summary>
 /// Enrich with managed thread id
 /// </summary>
 public static ILogConfiguration ThreadId(this IEnricherConfiguration configuration)
 {
     return(configuration.Custom(new ThreadInfoEnricher()));
 }