Untergeordnete Seiten
  • Logging Modules

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            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.