Project Description
Debug.Net is a framework based in castle dynamic proxy to help you log the behavior of your class in production logging the details about the methods invoked.

Don't forget to provide me your feedback about why you want to download the library or why don't, I would like to know what is the current needs that you have so I can improve my libraries

*notes: don't forget to add a rate feedback, that small thing is our motivation

Debug.NET Information

1- Framework 3.5+
2- Visual Studio 2012 Solution
3- Require interface implementation

Code Example
using System;
using Macds.Debug;

namespace Macds.Debug.Test.ConsoleTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var service = DebugFactory.CreateProxy<ICustomerService>(new CustomerService());
            service.GetEmail(1);

            Console.ReadLine();
        }
    }
}

log4net Output
Format: time - method information : returned object / execution time
18:24:30 - Invoked ICustomerService.GetEmail(Int32: 1) : String: demo@email.com / 93ms


Information

Debug.NET has been build using castle core for proxy capabilities and log4net for logging. Also it does not require that you configure the log4net in the web.config or app.config because it setup a new ILog instance with the following definitions:

1- Rolling File Appender
2- Log file path is: Debug.Net\Macds.Debug,log
3- Rolling Style Date
4- Date pattern "yyyyMMdd"
5- Append to file: true
6- Static log file name: true
7- Threshold All

Don't hesitate to contact me if you have any question.

Last edited Dec 29, 2012 at 5:49 PM by dwaks, version 8