Skip to content

Commit

Permalink
Merge pull request #32 from atesoglu/ClientInfoLoggerConfigurationExt…
Browse files Browse the repository at this point in the history
…ensions-Fix

ClientInfoLoggerConfigurationExtensions WithRequestHeader fix
  • Loading branch information
mo-esmp authored Nov 1, 2023
2 parents 0fd9ad4 + b73cb73 commit 95e0377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ public static LoggerConfiguration WithRequestHeader(this LoggerEnrichmentConfigu
throw new ArgumentNullException(nameof(headerName));
}

return enrichmentConfiguration.With(new ClientHeaderEnricher(propertyName, headerName));
return enrichmentConfiguration.With(new ClientHeaderEnricher(headerName, propertyName));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ public void WithRequestHeader_ThenLoggerIsCalled_ShouldNotThrowException()
// Assert
Assert.Null(exception);
}
}
}

0 comments on commit 95e0377

Please sign in to comment.