Logger for Addins
Content
There are many ways of logging for efficient programming however when it comes to Addins Rightnow becomes tricky. I tried to give a shot to create such a solution where we can
- Do Logging over UDP(Sort of Live logging)
- Send Exception Mails (Just incase if we want to)
- Write into Flat files
So lets Start
Import below Pakages under Reference of your Solution
- Nlog (https://www.nuget.org/packages/NLog/4.3.6)
- Nlog Configuration (https://www.nuget.org/packages/NLog.Config/4.3.6.1)
- Or this can be done by Right Clicking on Reference and choose Manage Nuget Pakages, type Nlog in the Dialog box and just install.
11