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

SpecialFolderLayoutRenderer honor file and dir #341

Merged
3 commits merged into from
May 22, 2014
Merged

SpecialFolderLayoutRenderer honor file and dir #341

3 commits merged into from
May 22, 2014

Conversation

iamjoeker
Copy link

Updates SpecialFolderLayoutRenderer to combine the special folder with both file and directory if specified.

@ghost
Copy link

ghost commented May 12, 2014

Thanks for the pull request, looks good to me. Could you create some unit tests for this feature?

@iamjoeker
Copy link
Author

Ok. There isn't currently a unit test for this renderer, but I'll add one. It looks like baseDir renderer has the same issue, so I'll also add a fix for it to this PR.

arjoe added 2 commits May 12, 2014 21:38
Allows for use of both parameters.
Updates unit tests to cover use of both parameters
@iamjoeker
Copy link
Author

@Xharze I've added unit tests for SpecialFolderLayoutRenderer and also corrected BaseDirLayoutRenderer which had similar behavior in which file worked or dir worked but not both. I also updated it's unit test.

If you prefer I squash these into a single commit, let me know.

@ghost ghost added this to the 3.0 milestone May 22, 2014
ghost pushed a commit that referenced this pull request May 22, 2014
SpecialFolderLayoutRenderer honor file and dir
@ghost ghost merged commit 5b87354 into NLog:master May 22, 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.

1 participant