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

Logger - Added missing MessageTemplateFormatMethodAttribute + removed obsolete internal method #2419

Merged
merged 1 commit into from
Nov 27, 2017

Conversation

snakefoot
Copy link
Contributor

Follow up to #2345 and #2406

@codecov
Copy link

codecov bot commented Nov 25, 2017

Codecov Report

Merging #2419 into master will decrease coverage by <1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #2419    +/-   ##
=======================================
- Coverage      82%     82%   -<1%     
=======================================
  Files         322     322            
  Lines       23020   23017     -3     
  Branches     2846    2846            
=======================================
- Hits        18791   18780    -11     
- Misses       3494    3504    +10     
+ Partials      735     733     -2

@@ -189,7 +189,7 @@ namespace NLog
{
if (Is<#=level#>Enabled)
{
WriteToTargets(LogLevel.<#=level#>, message, exception);
WriteToTargets(LogLevel.<#=level#>, exception, message, null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it referenced an obsolete internal method, that I have also removed (Leftovers from the reordering of the Exception-parameter to the front).

@304NotModified 304NotModified added the enhancement Improvement on existing feature label Nov 25, 2017
@304NotModified 304NotModified added this to the 4.5 rc2 milestone Nov 25, 2017
@304NotModified 304NotModified changed the title Logger - Added missing MessageTemplateFormatMethodAttribute Logger - Added missing MessageTemplateFormatMethodAttribute + removed obsolete internal method Nov 27, 2017
@304NotModified
Copy link
Member

ok thx!

@304NotModified 304NotModified merged commit f540ffb into NLog:master Nov 27, 2017
@snakefoot snakefoot deleted the LoggerMessageTemplateAttrib branch December 4, 2017 19:48
@snakefoot snakefoot modified the milestones: 4.5 rc2, 4.5 Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on existing feature refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants