Writing a Custom NLog Viewer

NLog is designed so that you can create your own application for monitoring log messages. This is for advanced users only, and requires ActiveX programming skills. Your custom log viewer includes NLogViewerCtl ActiveX object, which can be used to receive log events from a VBVoiceapplication. NLog allows multiple viewers to be run at the same time; running your custom viewer doesn't affect the use of NLog in any way.

In order to customize an NLog Viewer for your application, you must add NLogViewerCtl 1.0 Library to your project. Be sure to have the necessary system requirements.

To Add NLogViewerCtl 1.0 Library to your project:
  1. Select Projects from the Visual Basic Menu

  2. Select Components (Ctrl + T)

  3. Select NLogViewerCtl 1.0 Library

  4. Click Apply and OK

  5. Set the NLog Viewer properties, methods, and events.

Read About:

Understanding the Log File Format

 

Looking up NLog Enumerations