serilog-settings-appsettings icon indicating copy to clipboard operation
serilog-settings-appsettings copied to clipboard

An <appSettings> configuration reader for Serilog

Results 14 serilog-settings-appsettings issues
Sort by recently updated
recently updated
newest added

Some poor blokes like me need this code to work well with both net472, netCore3.1 and Net5 (and possibly net6) targets. This package ends up in a large solution and...

Hello, How can I add the 'renderedMessage = true' in the appsettings file for the JsonFormatter? In the code it's easy, but I haven't managed to do this in the...

`` trying to read above entry generates error: System.InvalidCastException HResult=0x80004002 Message=Invalid cast from 'System.String' to 'System.String[]'. Source=mscorlib StackTrace: at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) at System.String.System.IConvertible.ToType(Type type, IFormatProvider provider)...

Try to figure out the feature about watch the App.config at runtime like log4net and NLog https://stackoverflow.com/questions/25477415/how-can-i-reconfigure-serilog-without-restarting-the-application https://stackoverflow.com/questions/50715913/serilog-equivalent-to-log4net-config-watch The above two links have no useful info about reload all settings...

If I want to write to two Seq servers I can do this in code by: ``` .WriteTo.Seq("http://localhost:5341") .WriteTo.Seq("http://otherhost:5341") .CreateLogger(); ``` I'm not sure how I can do this in...

I currently am writing to a statically named log file as defined in my serilog config: ` ` I'd like to be able to change the logfile name at runtime...

**A few questions before you begin:** > Is this an issue related to the Serilog core project or one of the [sinks](https://github.com/serilog/serilog/wiki/Provided-Sinks) or [community projects](https://github.com/serilog/serilog/wiki/Community-Projects). This issue list is intended...

**Reproduction steps:** 1) Setup Program.cs like this: `public class Program { public static void Main(string[] args) { IConfigurationBuilder configBuilder = new ConfigurationBuilder(); configBuilder.SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true); IConfiguration config...

How to specify the networkCredential param using xml in Serilog.Sinks.Email. I try below but this cannot working ```xml ```

Added ability to pass in variables from C# and reference in app settings