main
 1using System;
 2
 3namespace jive
 4{
 5  static public class Log
 6  {
 7    static public Logger For<T>(T item_to_create_logger_for)
 8    {
 9      return For(typeof (T));
10    }
11
12    static public Logger For(Type type_to_create_a_logger_for)
13    {
14      try
15      {
16        return Resolve.the<LogFactory>().create_for(type_to_create_a_logger_for);
17      }
18      catch
19      {
20        return new TextLogger(Console.Out);
21      }
22    }
23  }
24}