Пример #1
0
 public static ILog For(this ILogProvider provider, Type type)
 {
     return(provider.For(type.FullName));
 }
Пример #2
0
 public static ILog For <T>(this ILogProvider provider)
 {
     return(provider.For(typeof(T)));
 }
Пример #3
0
 public static ILog ForCurrentType(this ILogProvider provider)
 {
     return(provider.For(new StackFrame(1, false).GetMethod().DeclaringType));
 }