Nlog: Structured logging feedback

Created on 10 Oct 2017  路  7Comments  路  Source: NLog/NLog

Structured logging has been re-introduced in NLog 4.5 beta 4. It works on all platforms, including .NET Standard 2.

Please post feedback here!

(PS: We have to update our docs)

Thanks in advance!

discussion

Most helpful comment

@tylerohlsen Not supporting .Net Standard 1.x delays my consumption and evaluation of structured logging

You can try this custom nuget-package build, that supports NetStandard1.5:

https://ci.appveyor.com/project/nlog/nlog/build/4.5.0-beta6403/artifacts

All 7 comments

Not supporting .Net Standard 1.x delays my consumption and evaluation of structured logging by many months. sigh Will it be merged up to the 5.x branch and then supported by .Net Standard 1.x?

Unfortunately no. Supporting .NET Standard 1 is hard and therefor there is no RTM for .NET Standard 1

Probably we will also drop .NET Standard 1 support soon. It's really delaying our development, feedback is low, has too many hacks and tooling support is dramatic. See https://github.com/NLog/NLog/issues/2150 and https://twitter.com/NLogOfficial/status/909135834229755904

Will it be merged up to the 5.x branch and then supported by .Net Standard 1.x?

If this should be done, then it would probably be easier to create a new branch from main (ex coreclr2), and then cherry-pick the changes needed for NetStandard 1.3 and UWP.

Is there a note anywhere on how to enable this?

@mika76 Is there a note anywhere on how to enable this?

It is enabled by default, so it will automatically parse log-messages and capture property-names. These can be presented like one have always done with NLog-Properties.

@tylerohlsen Not supporting .Net Standard 1.x delays my consumption and evaluation of structured logging

You can try this custom nuget-package build, that supports NetStandard1.5:

https://ci.appveyor.com/project/nlog/nlog/build/4.5.0-beta6403/artifacts

I think this one could be closed :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaximRouiller picture MaximRouiller  路  3Comments

npandrei picture npandrei  路  3Comments

carkov1990 picture carkov1990  路  3Comments

ericnewton76 picture ericnewton76  路  3Comments

sszost picture sszost  路  3Comments