Created
July 11, 2013 14:47
-
-
Save KxNxT/5976102 to your computer and use it in GitHub Desktop.
ブラウザのコンソールにlog出力。 こちらより
http://blog.bouze.me/457
This file contains hidden or 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 characters
import flash.external.ExternalInterface; | |
function log(...args:*):void | |
{ | |
ExternalInterface.call("function(str){ if (typeof window.console == 'object'){ console.log(str) } }", args); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment