-
Notifications
You must be signed in to change notification settings - Fork 130
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
Support for static member as the value of setting using ::
#73
#77
Conversation
This looks pretty good 👍 Just a few remarks :
|
…y/serilog-settings-configuration into appsettings-static-member
…y/serilog-settings-configuration into appsettings-static-member
…y/serilog-settings-configuration into appsettings-static-member
PR Update
Should this also be reflected in the |
sample/Sample/Sample.csproj
Outdated
@@ -16,6 +16,7 @@ | |||
<ItemGroup> | |||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" /> | |||
<PackageReference Include="Serilog.Sinks.Async" Version="1.0.1" /> | |||
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" /> | |||
<PackageReference Include="Serilog.Sinks.Literate" Version="2.0.0" /> |
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 think the package Serilog.Sinks.Literate is no longer required, because the sample app only use the Console Sink
@@ -0,0 +1,22 @@ | |||
namespace Serilog.Settings.Configuration.Tests.Support | |||
{ | |||
public abstract class DummyAbstractClass |
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 think this class (and its subclasses) are no longer needed. If this is the case, the file can probably be removed :)
Looks good ! Regarding the edit to the Maybe a comment in the |
PR Update
|
Thanks Douglas, this looks good to me ! 👍 |
Looks good to me! I see we are really overdue for unification of the various configuration systems - quite a bit of duplication here, but 👍 for now. |
Looks good! 👍 |
@tsimbalar
Support "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Grayscale" to access a static member for arguments of a complex type.
Solves issue #73