Rolf Kristensen

Results 84 issues of Rolf Kristensen

Have this exciting discussion about how to bend an old application to support structured logging: https://stackoverflow.com/questions/61281449/set-valueformatter-for-specific-nlog-instance There are some places where NLog could be more helpful for this scenario: -...

feature
up-for-grabs
json / json-layout

Maybe something like this, where it possible to do this: ```c# using var propertyCollector = ScopeContext.PushPropertyCollector(); ScopeContext.CollectProperty("parentproperty", "value"); ScopeContext.CollectProperty("sharedproperty", "value"); await ChildTaskAsync(); // Pushes properties to ScopeContext Logger.Info("Includes properties from...

feature
up-for-grabs

And add SSL support for NetStandard1_0. For NLog 5.0

enhancement
network/NLogViewer-target

I'm guessing that most new application will go for Microsoft.Extensions.Logging as their ILogger-abstraction. This means that one only setup NLog during startup-configuration, so it can be combined with Microsoft.Extension.Logging with...

discussion

Nullable references makes use of method-attributes to signal if references should have been null-checked first before calling. ```xml 8.0 enable ``` The "funny" part is that LangVersion=8.0 is only fully...

up-for-grabs
breaking change

When adding NLog to an empty Console Application with NetCore5 and enables AppTriming, then it grows from single file of 10 MByte to 20 MByte. Investigate what parts of NLog...

up-for-grabs
refactoring
platform support

Random thoughts after looking at #4139. And the overhead from synchronizing cpu-caches to atomically increment a counter that very few people uses, and unexpectedly can become negative after some days....

discussion

Instead of silently accepting this when `ThrowConfigExceptions = true` - `${exception:format=string}` Then it should fail by deferring validation from Format-property-assignment to `InitializeLayoutRenderer()`. If Formats-property-collection is empty (because parsing failed), then...

enhancement
up-for-grabs

The static method does not support dependency-injection or fluent-setup of LogFactory. Instead recommend to use `SimpleLayout.Render()`

breaking behavior change

Remove the following dependencies from NLog-core: ``` ``` Probably for NLog ver. 6.0 (Be careful not to step on the toes of NLog.MailKit - https://www.nuget.org/packages/NLog.MailKit/)

feature