Skip to content

Docs: add configuration from appsettings.json example #28

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

Merged
merged 2 commits into from
Oct 5, 2019
Merged

Docs: add configuration from appsettings.json example #28

merged 2 commits into from
Oct 5, 2019

Conversation

joostas
Copy link
Contributor

@joostas joostas commented Oct 3, 2019

Added configuration from appsettings.json example to Readme.md. Solves #24

Copy link
Member

@nblumhardt nblumhardt left a comment

Choose a reason for hiding this comment

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

Great! Thanks 👍. Just noticed one small issue.

README.md Outdated
"Serilog": {
"WriteTo": [
{
"Name": "RollingFile",
Copy link
Member

Choose a reason for hiding this comment

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

RollingFile is being deprecated in favour of File - it would be nice to show that here (the pathFormat argument becomes path). I notice now that there's still a mention of RollingFile in the XML example a few lines up; it would be nice to fix that too, if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Updated.

@nblumhardt nblumhardt merged commit eceec78 into serilog:dev Oct 5, 2019
@nblumhardt
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants