NLog

NLog - Advanced and Structured Logging for Various .NET Platforms

BSD-3-CLAUSE License

Stars
6.2K
Committers
209

Bot releases are hidden (Show)

NLog - NLog 4.5 beta 4

Published by 304NotModified about 7 years ago

Structured logging is back!

  • #2318 NLog 4.5 beta 4 (@304NotModified)
  • #2326 NLog - ValueSerializer - Faster integer and enum (@snakefoot)
  • #2328 fix xunit warning (@304NotModified)
  • #2117 Added IIncludeContext, implemented missing properties, added includeNdlc, sync NDLC and NDC (@304NotModified)
  • #2317 More explicit side effect (@304NotModified)
  • #2290 Do not report wrapped targets as unused targets (#2290) (@thesmallbang)
  • #2319 NLog - MessageTemplateParameter - IsReservedFormat (@snakefoot)
  • #2316 LogManager.LogFactory public (@304NotModified)
  • #2208 Added Structured events / Message Templates (@snakefoot)
  • #2312 Improve stability of unstable test on Travis: BufferingTargetWrapperA… (@304NotModified)
  • #2309 2017 copyright in T4 files (@304NotModified)
  • #2292 ${callsite} added CleanNamesOfAsyncContinuations option (#2292) (@304NotModified)
  • #2310 Upgrade xUnit to 2.3.0 RTM (@304NotModified)
  • #2313 Removal of old package.config files (@304NotModified)
  • #1872 FileTarget: more internal logging (@304NotModified)
  • #1897 LogFactory - Fixed EventArgs for ConfigurationChanged (@snakefoot)
  • #2301 Docs, rename and refactor of PropertiesDictionary/MessageTemplateParameters (@304NotModified)
  • #2302 Copyright to 2017 (@304NotModified)
  • #2262 LogEventInfo.MessageTemplate - Subset of LogEventInfo.Properties (@snakefoot)
  • #2300 Fixed title (@304NotModified)
NLog - NLog 4.5 beta 3

Published by 304NotModified about 7 years ago

  • #2298 Search also for lowercase nlog.config (@304NotModified)
  • #2297 WhenRepeatedFilter - Log after timeout (@snakefoot)
NLog - NLog 4.5 beta 2

Published by 304NotModified about 7 years ago

.NET Standard 2 support

Note: structured logging has been removed in this beta and will be reintroduced in later betas

NLog - NLog 5 beta 11

Published by 304NotModified about 7 years ago

NLog - NLog 5 beta 10

Published by 304NotModified about 7 years ago

NLog - NLog 4.5 beta 1

Published by 304NotModified about 7 years ago

.NET Standard 2 support

Note: structured logging has been removed in this beta and will be reintroduced in later betas

NLog - NLog 4.4.12

Published by 304NotModified about 7 years ago

Fix: ReconfigExistingLoggers sometimes throws an Exception (@jpdillingham)

NLog - NLog 5 beta 9

Published by 304NotModified over 7 years ago

Fixes:

GetCurrentClassLogger() for .NET Core 2

BREAKING CHANGE in beta08 !!

Compared to beta07, there is a breaking change in beta08 with GetCurrentClassLogger(), both binary and in behavior, but not in source.
GetCurrentClassLogger() is using the full class name again, so including the name space. This is fully compatible with NLog 4.x.

This means:

  • Upgrading won't give compile errors (as it isn't a source breaking change)
  • You cannot hot patch NLog 5 beta01-07 with this version (because of the binary breaking change)
  • You cannot mix NLog 5 beta01-07 with this version in one project (because of the binary breaking change)
  • Filters in the nlog.config need some attention, use the full class name including namespace now. This is the same as NLog 4.x (this is the behavior change)
NLog - NLog 5 beta 8

Published by 304NotModified over 7 years ago

BREAKING CHANGE in beta08 !!

Compared to beta07, there is a breaking change in beta08 with GetCurrentClassLogger(), both binary and in behavior, but not in source.
GetCurrentClassLogger() is using the full class name again, so including the name space. This is fully compatible with NLog 4.x.

This means:

  • Upgrading won't give compile errors (as it isn't a source breaking change)
  • You cannot hot patch NLog 5 beta01-07 with this version (because of the binary breaking change)
  • You cannot mix NLog 5 beta01-07 with this version in one project (because of the binary breaking change)
  • Filters in the nlog.config need some attention, use the full class name including namespace now. This is the same as NLog 4.x (this is the behavior change)

Also in this beta:

  • Up-to-date with NLog 4.4.11.
  • Fix for autoloading extensions warning in internal log.
NLog - NLog 4.4.11

Published by 304NotModified over 7 years ago

Fixes

  • #2164 JsonLayout - Don't mark ThreadAgnostic when IncludeMdc or IncludeMdlc is enabled (@snakefoot)
NLog - NLog 4.4.10

Published by 304NotModified over 7 years ago

Features

  • #2110 NdlcLayoutRenderer - Nested Diagnostics Logical Context (@snakefoot)
  • #2114 EventlogTarget: Support for MaximumKilobytes (@304NotModified, @ajitpeter)
  • #2109 JsonLayout - IncludeMdc and IncludeMdlc (@snakefoot)

Fixes

  • #2138 ReloadConfigOnTimer - fix potential NullReferenceException (@snakefoot)
  • #2113 BugFix: after won't work (@304NotModified, @Moafak)
  • #2131 Fix : LogManager.ReconfigureExistingLoggers() could throw InvalidOperationException (@304NotModified, @jpdillingham)

Improvements

  • #2137 NLogTraceListener - Reduce overhead by checking LogLevel (@snakefoot)
  • #2112 LogReceiverWebServiceTarget - Ensure PrecalculateVolatileLayouts (@snakefoot)
  • #2103 Improve Install of targets / crash Install on Databasetarget. (@M4ttsson)
  • #2101 LogFactory.Shutdown - Add warning on target flush timeout (@snakefoot)
NLog - NLog 4.4.9

Published by 304NotModified over 7 years ago

Features

  • #2090 ${log4jxmlevent} - Added IncludeAllProperties option (@snakefoot)
  • #2090 Log4JXmlEvent Layout - Added IncludeAllProperties, IncludeMdlc and IncludeMdc option (@snakefoot)

Fixes

  • #2090 Log4JXmlEvent Layout - Fixed bug with empty nlog:properties (@snakefoot)
  • #2093 Fixed bug to logging by day of week (@RussianDragon)
  • #2095 Fix: include ignoreErrors attribute not working for non-existent file (@304NotModified, @ghills)
NLog - NLog 4.4.8

Published by 304NotModified over 7 years ago

Features

  • #2078 Include MDLC in log4j renderer (option) (@thoemmi)
NLog - NLog 5 beta 7

Published by 304NotModified over 7 years ago

  • UWP support
  • up-to-date with NLog 4.4.5

Enabled a lot of features for netstandard 1.3 and 1.5:

Enabled Layout renderers

  • ${AssemblyVersion} - netstandard 1.5+
  • ${BaseDir} can now also use ProcessDir-property
  • ${MachineName} - now also netstandard 1.3+ (was previously 1.5+)
  • ${Mdlc} - netstandard 1.3+
  • ${NLogDir} - netstandard 1.5+
  • ${ProcessId} - netstandard 1.3+
  • ${ProcessInfo} - netstandard 1.3+
  • ${ProcessName} - netstandard 1.3+

Enabled targets

  • ChainsawTarget (Chainsaw) - netstandard 1.3+
  • NLogViewerTarget (NLogViewer) - netstandard 1.3+
  • OutputDebugString - netstandard 1.3+
  • TraceTarget (trace) - netstandard 1.3+

Other features

Enabled the following features for netstandard 1.3+:

  • MDLC
  • Enabled auto-retry when using FileTarget.KeepFileOpen = false
  • Enabled file-watcher when using FileTarget.KeepFileOpen = true
  • Fixed FileTarget.EnableFileDelete so it works with FileTarget.KeepFileOpen = true

for full support list, check https://github.com/NLog/NLog/wiki/platform-support

NLog - NLog 4.4.7

Published by 304NotModified over 7 years ago

Features

  • #2063 JsonLayout - Added JsonAttribute property EscapeUnicode (@snakefoot)

Improvements

  • #2075 StackTraceLayoutRenderer with Raw format should display source FileName (@snakefoot)
  • #2067 ${EventProperties}, ${newline}, ${basedir} & ${tempdir} as ThreadAgnostic (performance improvement) (@snakefoot)
  • #2061 MethodCallTarget - Fixed possible null-reference-exception on initialize (@snakefoot)
NLog - NLog 4.4.6

Published by 304NotModified over 7 years ago

Features

  • #2006 Added AsyncTaskTarget - Base class for using async methods (@snakefoot)
  • #2051 Added LogMessageGenerator overloads for exceptions (#2051) (@c0shea)
  • #2034 ${level} add format option (full, single char and ordinal) (#2034) (@c0shea)
  • #2042 AutoFlushTargetWrapper - Added AsyncFlush property (@snakefoot)

Improvements

  • #2048 Layout - Ensure StackTraceUsage works for all types of Layout (@snakefoot)
  • #2041 Reduce memory allocations (AsyncContinuation exceptionHandler) & refactor (@snakefoot)
  • #2040 WebServiceTarget - Avoid re-throwing exceptions in async completion method (@snakefoot)
NLog - NLog 4.4.6 beta 2

Published by 304NotModified over 7 years ago

NLog - NLog 4.4.6 beta 1

Published by 304NotModified over 7 years ago

NLog - NLog 4.4.5

Published by 304NotModified over 7 years ago

Fixes

  • #2010 LogFactory - Ensure to flush and close on shutdown - fixes broken logging (@snakefoot)
  • #2017 WebServiceTarget - Fix boolean parameter conversion for Xml and Json (lowercase) (@snakefoot)

Improvements

  • #2017 Merged the JSON serializer code into DefaultJsonSerializer (@snakefoot)
NLog - NLog 4.4.5-beta1

Published by 304NotModified over 7 years ago

Package Rankings
Top 8.17% on Proxy.golang.org
Related Projects