Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/flash_exploiter/Logger.as
Views: 11766
package { import flash.external.ExternalInterface public class Logger { private static const DEBUG:uint = 0 public static function alert(msg:String):void { var str:String = ""; if (DEBUG == 1) str += msg; if(ExternalInterface.available){ ExternalInterface.call("alert", str); } } public static function log(msg:String):void { var str:String = ""; if (DEBUG == 1) str += msg; if(ExternalInterface.available){ ExternalInterface.call("console.log", str); } } } }