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

Refactor filetarget + target to reduce code complexity #3160

Merged
merged 4 commits into from Mar 9, 2019

Conversation

snakefoot
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 9, 2019

Codecov Report

Merging #3160 into dev will decrease coverage by <1%.
The diff coverage is 84%.

@@          Coverage Diff           @@
##             dev   #3160    +/-   ##
======================================
- Coverage     80%     80%   -<1%     
======================================
  Files        353     353            
  Lines      27844   27845     +1     
  Branches    3690    3688     -2     
======================================
- Hits       22203   22201     -2     
- Misses      4585    4586     +1     
- Partials    1056    1058     +2

@304NotModified
Copy link
Member

Have you used a refactor tool for this? (So no need to review in depth)

@snakefoot
Copy link
Contributor Author

FileTarget.cs and Target.cs changes was done by hand.

@304NotModified 304NotModified changed the title File target reduce code complexity Refactor filetarget + target to reduce code complexity Mar 9, 2019
@304NotModified 304NotModified merged commit b3d501f into NLog:dev Mar 9, 2019
@304NotModified
Copy link
Member

thanks!

I think it would be nice if we could move out some methods out of the FileTarget in the future. It's really too large.

@304NotModified 304NotModified added this to the 4.6 milestone Mar 9, 2019
@snakefoot
Copy link
Contributor Author

Yes the file archive logic would probably be a good candidate.

@snakefoot snakefoot deleted the FileTargetCodeRefactor branch April 4, 2020 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants