LogHelper T  ClassMVC+ (Model-Facade-View-Controller) Framework for ASP.NET
The Log4NET wrapper class provides methods for logging the start/end of each blocks of the code, as well as, logging exception errors.
Inheritance Hierarchy

System Object
  NovaDimension.Component LogHelper T 

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

public static class LogHelper<T>
Type Parameters

T
object which needs to be logged
Examples

This sample shows how to use the LogHelper T  static class.
using System;
using NovaDimension.Component;

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