Skip to content

Releases: farzadpanahi/NLog.GelfLayout

Update dependencies

15 Mar 20:38
Compare
Choose a tag to compare
  • Updated to NLog 4.5.11 and Newtonsoft.Json 11.0.2 to reduce dependencies for NetStandard2.0
  • Setup github workflow for testing new PR and master builds
  • Move test project file to new sdk file format
  • Added sourcelink support for better debugging experience

GelfLayout - Supports ExtraFields and IncludeMdlc

12 Aug 10:33
8b08698
Compare
Choose a tag to compare
  • Introduced GetlfLayout with support for adding extra fields:

The following changes has also been made:

  • Reduced allocations by writing message directly to JsonTextWriter (Skips allocation of internal GelfMessage-object and JObject-object).
  • Reduced allocations by writing custom fields directly to JsonTextWriter (Skips allocations of JToken for primitive types).
  • Added support for NLog ThreadSafe-attribute for improved concurrency in async-mode.
  • Added option IncludeLegacyFields so one can skip deprecated fields (according to GELF 1.1 spec)
  • Added fallback to Logger-name, when CallSite FilePath is null / empty.

Thanks @snakefoot for this contribution

0.3.0

06 May 08:57
Compare
Choose a tag to compare

Fixed timestamp type to be conform with Gelf specification
Fixed extra property rendering for non string types to Gelf message
Added NetCore support

v0.2

14 Jan 03:21
Compare
Choose a tag to compare
  • upgraded NLog and JSON libraries
  • fixed log level ordinal values thanks to @neris
  • fixed gelf converter to print full stacktrace including inner exceptions