Exemplo n.º 1
0
 public static ILog For(this ILogProvider provider, Type type)
 {
     return(provider.For(type.FullName));
 }
Exemplo n.º 2
0
 public static ILog For <T>(this ILogProvider provider)
 {
     return(provider.For(typeof(T)));
 }
Exemplo n.º 3
0
 public static ILog ForCurrentType(this ILogProvider provider)
 {
     return(provider.For(new StackFrame(1, false).GetMethod().DeclaringType));
 }