Created
November 17, 2011 10:56
Revisions
-
bastman renamed this gist
Nov 17, 2011 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
bastman created this gist
Nov 17, 2011 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ package com.basilicom.utils { import flash.external.ExternalInterface; public class FireLog { public static function log(msg:String = null, data:* = null):void { try { var mashall = ExternalInterface.marshallExceptions; ExternalInterface.marshallExceptions = true; ExternalInterface.call("Basilicom.console.log", "FIRELOG: " + msg, data); } catch (error) { } ExternalInterface.marshallExceptions = mashall; } } }