Skip to main content
The Gleap SDK can collect console logs so they are attached to feedback items. You can also make use of custom logs, which offer more control over the logs.

Default console logs

Console-log capture is available through the platform host. In addition, you can pipe your app’s logging through Gleap via the optional Gleap.Extensions.Logging package (builder.Logging.AddGleap()).

Enable console logs in debug mode

You can enable verbose SDK debug logging by calling the following method. Make sure to call this method before initializing the Gleap SDK.

Disable default console logs

It is possible to disable the default collection of console logs by calling the following method prior to the initialization of Gleap.

Custom logs

Custom logs allow you to create logs in the Gleap activity log. There are three severity types available for logs: Error, Warning and Info.
By default logs are created with the severity Info. Use the following method to explicitly set the severity (LogLevel lives in GleapSDK).