Files
lime/lime/Lib.hx
Joshua Granick 87573bb261 Use Log class
2016-09-01 12:26:20 -07:00

28 lines
395 B
Haxe

package lime;
import haxe.PosInfos;
import lime.utils.Log;
class Lib {
@:noCompletion private static var __sentWarnings = new Map<String, Bool> ();
public static function notImplemented (api:String, ?posInfo:PosInfos):Void {
if (!__sentWarnings.exists (api)) {
__sentWarnings.set (api, true);
Log.warn (api + " is not implemented", posInfo);
}
}
}