Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Releases: serilog-web/classic

v5.1.66

20 Apr 19:32
Compare
Choose a tag to compare
  • expose new overload of .LogAtLevel which accept a Func<HttpContextBase, TimeSpan, LogEventLevel> to given finer control on the level of generated log entry (#74 ) . Thanks @KieranSasseSolarGain

Breaking changes

  • getter ApplicationLifecycleModule.RequestLoggingLevel has been removed (the setter is still here). Note that this member has been obsolete since v4, more than 2 years ago.

v5.0.58

21 Apr 07:23
52b8b5a
Compare
Choose a tag to compare
  • fix #67 - HttpRequestUrlEnricher fails when logging in Application_Start - #68 by @liviriniu

v5.0.56

27 Feb 07:58
48929ab
Compare
Choose a tag to compare
  • fix System.Web.HttpException: "Request is not available in this context" when using HttpRequestUserAgentEnricher and logging during Application_Start (#66 - #1)

v5.0.52

04 Apr 11:24
d4767af
Compare
Choose a tag to compare
  • Fix null reference exception when posted Form data has a null key - #62 Thanks @davidp1978

v5.0

28 Feb 22:12
f6c90f3
Compare
Choose a tag to compare

#61

  • Introduces new extension methods under namespace SerilogWeb.Classic.Extensions, mainly to be used by SerilogWeb.Classic.WebAPI for serilog-web/classic-webapi#16 :
    • HttpContext.AddSerilogWebError(Exception exception) / HttpContextBase.AddSerilogWebError(Exception exception)
    • HttpContext.GetLastSerilogWebError() / HttpContextBase.GetLastSerilogWebError()
  • bump referenced Serilog version to v2.7.1 (published 9 month ago) . (v2.8.0 is only a month old, and forcing unnecessary update could be annoying to end user)
  • bump package version to v5.0 . Not really a breaking change but may introduce subtle behavior different when combined with secondary packages (WebAPI one)

v4.2.42

28 Feb 22:15
3a73307
Compare
Choose a tag to compare

v4.2.41

29 May 09:35
d32c124
Compare
Choose a tag to compare
  • new Enrich.WithXXX() methods to allow using enrichers from Serilog.Settings.AppSettings #53