Untergeordnete Seiten
  • Logging Modules

  Wiki Navigation

    Loading...


 Recently Updated


 Download 

 MediaPortal 1
            Releasenews | Download
 MediaPortal 2
            Releasenews | Download



Logging is supported by getting an instance of ILogger from the ServiceRegistration class.

In this example, an error log message should be written:

// Get the ILogger instance from the ServiceRegistration class
  ILogger logger = ServiceRegistration.Get<ILogger>();
  logger.Error("...");

   

 

This page has no comments.