Esempio n. 1
0
 public static ISimpleLog GetOrCreateLogFor(this ISimpleLogFactory factory, Type type)
 {
     return(factory.GetOrCreate(type.FullName));
 }
Esempio n. 2
0
        public ISimpleLog GetOrCreate(string category)
        {
            var simpleLog = _simpleLogFactory.GetOrCreate(category);

            return(new MyLog(simpleLog));
        }