main
 1using System;
 2
 3namespace Gorilla.Commons.Infrastructure.Logging
 4{
 5    public static class LoggingExtensions
 6    {
 7        public static Logger log<T>(this T item_to_log)
 8        {
 9            return Log.For(item_to_log);
10        }
11
12        public static void add_to_log(this Exception error_to_log)
13        {
14            Log.For(error_to_log).error(error_to_log);
15        }
16    }
17}