We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Logger for Addins

Received Response
7
Views
5
Comments
edited Jul 30, 2016 6:43PM in UI Extensibility 5 comments

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

  1. Do Logging over UDP(Sort of Live logging)
  2. Send Exception Mails (Just incase if we want to)
  3. Write into Flat files

So lets Start

Import below Pakages under Reference of your Solution

  1. Nlog (https://www.nuget.org/packages/NLog/4.3.6)
  2. Nlog Configuration (https://www.nuget.org/packages/NLog.Config/4.3.6.1)
  3. Or this can be done by Right Clicking on Reference and choose Manage Nuget Pakages, type Nlog in the Dialog box and just install.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!