IAnalyticsMonitorSettings LoggingInterface Property .NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
The logging interface used for exposing internal messages

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: (3.2.144)

ILogAnalyticsMonitor LoggingInterface { get; set; }

You can provide your own implementation of the ILogAnalyticsMonitor interface in order to receive the internal logging messages from constructed monitors

This sample shows how to use the logging interface.
class MyClass 
  static void Main() 
    //Creating AnalyticsMonitorSettings
    AnalyticsMonitorSettings settings = new AnalyticsMonitorSettings("YOUR_PRODUCT_KEY_HERE");
    settings.LoggingInterface = new MyLogClass();

    //Creating IAnalyticsMonitor
    IAnalyticsMonitor monitor = AnalyticsMonitorFactory.Create(settings);

    //Start Analytics monitor

    /*Your program here....*/ 

    //Stop Analytics monitor
class MyLogClass : ILogAnalyticsMonitor
  public void LogMessage(string message)
    Console.WriteLine("Log: " + message);

  public void LogError(string errorMessage)
    Console.WriteLine("Error: " + errorMessage);
See Also