LogHelper T  Error Method MVC+ (Model-Facade-View-Controller) Framework for ASP.NET
Logs the exception error.

Namespace: NovaDimension.Component
Assembly: NovaDimension.Component (in NovaDimension.Component.dll) Version: 4.0.209.0 (4.0.0209.0)
Syntax

public static void Error(
	string pMsg
)
Exceptions

Examples

This sample shows how to use the Error(String) static method.
using System;
using NovaDimension.Component;

class TestClass()
{
    static int Main()
    {
        try {
            // Your code ...
            LogHelper<TestClass>.Error("Failed! ...");
        }
        catch (ExceptionEx<LogHelperException> ex)
        {
            Console.WriteLine(ex.Message);
        }
        finally
        {
            LogHelper<TestClass>.DebugEnd(System.Reflection.MethodBase.GetCurrentMethod().Name);
        }
    }
}
See Also