Nicholas Blumhardt

Results 929 comments of Nicholas Blumhardt

Thanks for the PR, and sorry about the slow reply @jmenziessmith - took some time off over the Christmas/New Year period :-) I think this solution might be a good...

Hi Brian, thanks for dropping us a line. If your use case is simple enough, this kind of thing can work: ```csharp class SwitchableSink : ILogEventSink, IDisposable { readonly object...

Another option: https://github.com/serilog/serilog/pull/1764#issuecomment-2411335049

Would be great to bench this.. `ConcurrentDictionary` used to be horribly slow, but recent versions sound much better, might be a nice win, though I suspect the results will depend...

Interesting in exploring this more if it is still on your radar, but closing as stale for now, need to keep the number of open PRs down to avoid long...

Thanks for the note, @dsosunov. Can you use a `NotInheritable` class, and just manually apply ``, potentially with some compiler warnings ignored? (This might suffice for the configuration reader, as...

I think in this case, performance might win out and we stick with the status-quo. It's a bit unfortunate, but as this is the first report in the 13-odd years...

Hi @cesare-marasco; unfortunately nothing jumps out at me - there are only a small number of watchers on this repo, you might find someone with more experience in this area...

I think the trick here will be to introduce Serilog.Expressions-based formatting APIs, and migrate away from the original.