×


Optional Parameters

ErrLog.IO has a number of settings available, however only one is required - the API key.

All settings can be found within the ErrLog.settings namespace.

Parameter Type Description
application_name String An arbitrary string representing the name of your application. Defaults to the current executable name and/or derived from System.AppDomain.CurrentDomain.FriendlyName
key_check Boolean (default=true) When set to true, any content found in the Application, Session and Cookie collections that contain keywords in the list below will be hidden from logging.
keys_to_exclude String Array When ErrLog.settings.keycheck is set to true, any content found in the Application, Session and Cookie collections that contain keys in the list below will be hidden from logging. Defaults to keys_to_exclude = { "password", "pwd", "token", "key", "viewstate", "cookie", "aspnet", "validation" };
exclude_completely Boolean (default=false) When set to false, the keys/names for any excluded are listed, without their data or values. When set to true, the entire name/value pair is excluded entirely.
language_id Integer Defines the language the package is being called from. Defaults to C#, and automatically adapts where possible. Can be overriden values from:
ErrLog.settings.languages

Debugging Options

Parameter Type Description
verbose_logging Boolean (default=false) Enabling Verbose Logging will output additional logging to the console from ErrLog.Logger.log(), to help diagnose API key, network and package errors
throw_exception Boolean (default=false) Enabling throw_exception will cause a caught exception to be manually thrown. This is dangerous if set in a production environment, as it will cause an exception to be thrown and potentially break your application.
custom_POST_url string Configures ErrLog.IO to also send the data packet via a HTTP POST to an additional URL - useful for logging to a local instance for faster debugging.
Warning #1: Minimal validation of this URL is performed. Errors will not be thrown if this fails, otherwise we could create an infinite loop.
Warning #2: Packets may contain sensitive information, use with extreme care.