Skip to content

Conversation

@igor-moskvitin
Copy link
Contributor

PR for issue 17.
Some updating for sampe.

*Information via Warning
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseConfiguration(Configuration)
.UseSerilog((context, configuration) =>
Copy link
Member

Choose a reason for hiding this comment

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

This should just be the parameterless UseSerilog(), since the logger is already being created and configured inside Main().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh...excuse me. Fixed.

@nblumhardt
Copy link
Member

Looks good, just the one comment - thanks!

@nblumhardt
Copy link
Member

Great, thanks 👍

@nblumhardt nblumhardt merged commit dd90767 into serilog:dev Dec 3, 2017
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