After you create the trace listener constructor class, you implement the installer class.
The installer class executes logic on the application start. To create the installer class:
PreApplicationStart
Configuring
RaygunConfigurator
ObjectFactory.Container.RegisterInstance<ISitefinityLogCategoryConfigurator>(customConfigurator);
GITHUB EXAMPLE: For more information about the content of the file, see the Installer.cs file of the downloaded sample project.
GITHUB EXAMPLE: For more information about the content of the file, see the AssemblyInfo.cs file of the downloaded sample project.
Finally, you need to reference the ExternalLogging class library, in your Sitefinity CMS application.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important