/// <summary> /// Get logger from name and type. /// </summary> /// <param name="name"></param> /// <param name="type"></param> /// <returns></returns> public static ILog GetLogger(string name, Type type) { return(WrapLogger(LoggerDirector.GetLogger(name, type.FullName))); }
/// <summary> /// Get logger from type. /// </summary> /// <param name="type"></param> /// <returns></returns> public static ILog GetLogger(Type type) { return(WrapLogger(LoggerDirector.GetLogger(Assembly.GetCallingAssembly(), type.FullName))); }
/// <summary> /// Get logger from assembly and name. /// </summary> /// <param name="assembly"></param> /// <param name="name"></param> /// <returns></returns> public static ILog GetLogger(Assembly assembly, string name) { return(WrapLogger(LoggerDirector.GetLogger(assembly, name))); }