Open slawomir-brzezinski-at-interxion opened 6 years ago
They are not implemented, so the extra log information is thrown away, while it is rather useful. E.g. ASP.NET Core provides all the data in bold:
RequestId:0HKV9C49II9CK RequestPath:/api/some-resource/0 => MyApp.Controllers.SomeResourceController.GetById (MyApp) => Hello world!
Implementation: Log4Net actually provides the Stacks functionality which is actually the equivalent (it even returns an IDisposable) and, with a little bit of plumbing, it should be possible to put it there.
IDisposable
I should be able to provide a pull request soon.
PR now open. Please let me know if you need anything.
They are not implemented, so the extra log information is thrown away, while it is rather useful. E.g. ASP.NET Core provides all the data in bold:
RequestId:0HKV9C49II9CK RequestPath:/api/some-resource/0 => MyApp.Controllers.SomeResourceController.GetById (MyApp) => Hello world!
Implementation: Log4Net actually provides the Stacks functionality which is actually the equivalent (it even returns an
IDisposable
) and, with a little bit of plumbing, it should be possible to put it there.I should be able to provide a pull request soon.