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

Update examples, created separate with Json config #352

Merged
merged 1 commit into from
Oct 19, 2019

Conversation

304NotModified
Copy link
Member

No description provided.

.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.Build();

LogManager.Configuration = new NLogLoggingConfiguration(config.GetSection("NLog"));
Copy link
Member Author

Choose a reason for hiding this comment

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

@snakefoot maybe we should do this in loggingBuilder.AddNLog(config);, as we have already the config? Or is there a reason why we don't do that?

Copy link
Contributor

Choose a reason for hiding this comment

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

Think the only reason is that AddNLog(config) has just been introduced moments ago.

@codecov-io
Copy link

codecov-io commented Oct 19, 2019

Codecov Report

Merging #352 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #352   +/-   ##
=======================================
  Coverage   81.82%   81.82%           
=======================================
  Files          12       12           
  Lines        1150     1150           
  Branches      195      195           
=======================================
  Hits          941      941           
  Misses        140      140           
  Partials       69       69

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8755420...5afb135. Read the comment docs.

@304NotModified 304NotModified merged commit b284fb6 into master Oct 19, 2019
@304NotModified 304NotModified deleted the examples-update branch October 19, 2019 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants