|   | ErrorModuleLogger Property | 
        
        
        
        Namespace: GSF.ErrorManagementAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntax Remarks
RemarksLogger property can be used for logging handled exception throughout the web application.
             
 Example
Example
             This example shows the use of 
Logger for logging handled exception:
             
using System;
using GSF.ErrorManagement;
namespace WebApp
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                string s = null;
                s.ToCharArray();            
            }
            catch (Exception ex)
            {
                ErrorModule.Logger.Log(ex); 
            }
        }
    }
} See Also
See Also