-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dependency and README updates #110
Conversation
@@ -21,6 +21,7 @@ public static int Main(string[] args) | |||
Log.Logger = new LoggerConfiguration() | |||
.ReadFrom.Configuration(Configuration) | |||
.Enrich.FromLogContext() | |||
.WriteTo.Debug() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this, there are lots of questions when folks are getting started that this may help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The reason I left this in draft is that it will update the README in a way that's incompatible with the current released package. We could just jump ahead, however, and release our 3.0 with the framework dependencies left at 2.2 (it doesn't look like we'll bump dependency versions this time around). Thoughts? |
|
Will just need: serilog/serilog-extensions-hosting#11 |
Planning to merge and release this via 3.0.0, and only merge the example updates in #111 once .NET Core 3 has shipped. |
This PR adds
Console
,Debug
, andFile
sinks to the package dependencies, along with Serilog.Formatting.Compact (JSON) and Serilog.Settings.Configuration. The README is updated accordingly.The goal is to make the onboarding process smoother. There's still work to do, including sample updates to match the ASP.NET Core 3.0 hosting startup.
Partial #95