damianh / LibLog

LibLog is a single file for you to either copy/paste or install via nuget, into your library/framework/application to provide a logging abstraction.
MIT License
929 stars 153 forks source link

log4net.Core.LoggingEvent not all properties filled #252

Closed aivarasgg closed 4 years ago

aivarasgg commented 5 years ago

I am looking into LibLog as a possible replacement for log4net library that we use in our projects, it would be nice to abstract away the logging library and while I was running the tests of LibLog I noticed that it does not fill log4net.Core.LoggingEvent correctly, quite a few important properties are not filled:

I did not investigate why it is not filled yet, maybe you have an idea. LoggingEvent

aivarasgg commented 5 years ago

I've done some digging and it seems like the problem is on log4net side, currently they do not really support netstandard2.0, plus in the code it says // NETSTANDARD1_3 TODO requires platform-specific code. On compact framework there's no notion of current Windows user, which makes sense.

There is not much going on on log4net repository, last commit on feature/netstandard-2.0 branch is two years old.

I think this issue can be closed.

damianh commented 4 years ago

Thanks for follow up.