Skip to content

Commit

Permalink
use the right syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mookid8000 committed Oct 7, 2015
1 parent cd53eff commit 93db064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rebus.Serilog/SerilogConfigurationExtensions.cs
Expand Up @@ -29,7 +29,7 @@ public static void Serilog(this RebusLoggingConfigurer configurer, ILogger baseL
/// Configures Serilog to add the correlation ID of the Rebus message currently being handled to log events as the <paramref name="propertyName"/>
/// field. Does nothing when called outside of a message handler.
/// </summary>
public static LoggerConfiguration RebusCorrelationId(this LoggerEnrichmentConfiguration configuration, string propertyName)
public static LoggerConfiguration WithRebusCorrelationId(this LoggerEnrichmentConfiguration configuration, string propertyName)
{
return configuration.With(new RebusCorrelationIdEnricher(propertyName));
}
Expand Down

0 comments on commit 93db064

Please sign in to comment.