Skip to content

Commit

Permalink
dev: add enricher extension
Browse files Browse the repository at this point in the history
  • Loading branch information
markjackmilian committed Dec 21, 2022
1 parent a3541c4 commit d7327a2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public static LoggerConfiguration WithDevelopment(this LoggerEnrichmentConfigura
return enrichment.With(new DevelopmentEnricher(isDevelopment));
}

public static LoggerConfiguration WithDeviceLang(this LoggerEnrichmentConfiguration enrichment)
{
if (enrichment == null) throw new ArgumentNullException(nameof(enrichment));
return enrichment.With(new DeviceLangEnricher());
}

/// <summary>
/// Add univoque id to device
/// Value is stored in SecureStorage
Expand Down

0 comments on commit d7327a2

Please sign in to comment.