What does this mean for you? It means that you can now add logging to your application without any code changes – just by downloading a NuGet package:
- For System.Diagnostics.Trace support:
- For Log4Net support
- For NLog support
We have changed the NuGet package name a bit to make it more readable, and made the version number match that of the PostSharp build the package depends upon.
As I mentioned in the previous blog
post, the NuGet package creates a .psproj file in the project’s directory named after the
project. This is an XML file, which contains the configuration that is processed by PostSharp during
compilation.
I will go into much greater detail about the XML configuration in the next blog post.
As always, the source code for the PostSharp Toolkits is available on Github. Your feedback is very appreciated – please tell us your suggestions and issues on our Support Forums for PostSharp Toolkits.
Happy PostSharping!
-Igal