DOCUMENTATION

WinForms and WPF Configuration Parameters

You can set up the Logify Alert client for WinForms or WPF applications using the App.config file:

<configuration>   <configSections>     <section name="logifyAlert" type="DevExpress.Logify.LogifyConfigSection, Logify.Alert.Win"/>   </configSections>   ...   <logifyAlert>     <apiKey value="SPECIFY_YOUR_API_KEY_HERE"/>     <confirmSend value="false" />     <offlineReportsEnabled value="true" />     <offlineReportsCount value="20" />     <collectBreadcrumbs value="true" />     <breadcrumbsMaxCount value="500" />     <collectMiniDump value="true" />     <customData>       <add key="MACHINE_NAME" value="My Server" />     <customData/>     <tags>       <add key="OS" value="Win8.1" />     <tags/>   </logifyAlert> </configuration>

The table below lists all Logify configuration parameters available for WinForms and WPF applications:

apiKey

Type: String

Specifies an API Key used to register applications within the Logify Alert service.

confirmSend

Type: Boolean
Default value: false

Specifies whether or not a user must confirm sending reports to the Logify Alert service. By default, all uncaught exceptions are automatically processed and sent to the Logify Alert service.

customData

Type: IDictionary<String, String>

Gets the collection of custom data sent with generated reports. Use the CustomData property to attach additional information to the generated report (for example, CPU usage, environment parameters, and so on). The key name can only consists of a-z, A-Z, 0-9, and _ characters.

tags

Type: IDictionary<String, String>

Gets the collection of tags specifying additional report fields, which will be used in auto ignoring, filtering or detecting duplicates. A key is a tag name (a string that consists of a-z, A-Z, 0-9, and _ characters), and a value is a tag value that is saved to a report. A new tag is added with Allow search enabled.

offlineReportsEnabled

Type: Boolean
Default value: false

Specifies whether or not Logify should store the last OfflineReportsCount reports once an Internet connection is lost. To send the kept reports once an Internet connection is available, call the SendOfflineReports method.

offlineReportsDirectory

Type: String

Specifies a directory path that will be used to store reports once an Internet connection is lost. Reports are only saved when the OfflineReportsEnabled property is set to true.

offlineReportsCount

Type: Integer
Default value: 0

Specifies the number of last reports to be kept once an Internet connection is lost. Reports are only saved when the OfflineReportsEnabled property is set to true.

collectBreadcrumbs

Type: Boolean
Default value: false

Specifies whether automatic breadcrumbs collecting is enabled. The total breadcrumbs size is limited by 1000 instances (or 3 MB) per one crash report by default. To change the maximum allowed size of attached breadcrumbs, use the BreadcrumbsMaxCount property.

breadcrumbsMaxCount

Type: Integer
Default value: 1000

Specifies the maximum allowed number of breadcrumbs attached to one crash report.

collectMiniDump

Type: Boolean
Default value: false

Specifies whether automatic minidumps collecting is enabled.

Terms of use Copyright © 2016-2019 Developer Express Inc.