NLog .Net Logging 1 year ago • updated by j.verdurmen 2 months ago 4

we have the following plan for supporting other frameworks:

1. We will fix first Xamarin (see #1009) - this is now for 80% done
2. Then we will fix UAP10 - done for 60%

3. And after that or .Net Core, of PCL. We will decide then. (.Net Core isn't released yet, so for now has a lower prio)

We also experimented with PCL before. The problems we have seen:

  • There is no FileInfo / Filestream. So writing to files (most basic operation) or reading config from a config file is impossible. (but maybe we can use a external lib for that)
  • There is no StackFrame / StackTrace thus, LogManager.GetCurrentClassLogger won't work (or we have to change it's behaviour. The Caller attributes won't help as it's missing the class name. (we can choose to use the filename instead of the classname, this is also done that way in the fluent logger)

Opinions are welcome :)


Netstandard will be supported. PCL not.