 
 	public func load(resourceName name: String, identifier ident: String) -> Any? {
 		guard let loader = mLoaders[name] else {
-			NSLog("No loader for resource \"\(name)\" at \(#function)")
+			mConsole.error(string: "No loader for resource \"\(name)\" at \(#function)")
 			return nil
 		}
 		guard let table = mResourceTable[name] else {
-			NSLog("Unknown resource \"\(name)\" at \(#function)")
+			mConsole.error(string: "Unknown resource \"\(name)\" at \(#function)")
 			return nil
 		}
 		guard let item = table[ident] else {
-			NSLog("No resource named \"\(ident)\" at \(#function)")
+			mConsole.error(string: "No resource named \"\(ident)\" at \(#function)")
 			return nil
 		}
 		if let data = item.content {

	private var mBaseURL:		URL
	private var mLoaders:		Dictionary<String, LoaderFunc>
	private var mResourceTable:	Dictionary<String, Dictionary<String, Item>>

	public init(baseURL url: URL){
		mBaseURL	= url
		mLoaders	= [:]
		mResourceTable	= [:]
	}

	public var baseURL: URL { get { return mBaseURL }}

				item.content = newdata
				return newdata
			} else {
				mConsole.error(string: "Failed to load \"\(ident)\" at \(#function)")
				return nil
			}
		}
