GetLogger() public method

public GetLogger ( Type type ) : ILog
type Type
return ILog
示例#1
0
        public static ILog Log <T>(this T thing)
        {
            var log = AppLogManager.GetLogger <T>();

            return(log);
        }
示例#2
0
 public static ILog GetLogger <T>()
 {
     return(_logManager.GetLogger(typeof(T)));
 }