Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #373 fixed #377

Merged
1 commit merged into from
Jul 11, 2014
Merged

Issue #373 fixed #377

1 commit merged into from
Jul 11, 2014

Conversation

pgatilov
Copy link
Contributor

Added one more overload for the internal method that calls the faster
overload of LogEventInfo.Create.

This resolves the performance issue #373

Added one more overload for the internal method that calls the faster
overload of LogEventInfo.Create.
@pgatilov
Copy link
Contributor Author

I thought about unit tests, but I don't understand how to check that the correct overload is called given that there are no interfaces to mock inside the library. Any suggestions are welcome.

@ghost
Copy link

ghost commented Jun 28, 2014

Thanks for the pull request, looks good. About the unit tests, it is not easily done before the logger has an interface, so no problem about that

ghost pushed a commit that referenced this pull request Jul 11, 2014
Apply small performance patch
@ghost ghost merged commit 205d983 into NLog:master Jul 11, 2014
@ghost ghost added the enhancement label Jul 11, 2014
@ghost ghost added this to the 3.1.1 milestone Jul 11, 2014
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant