Saqoosha.net

  1. About
  2. Archives
  3. Search
  4. Say
Language:

Make flashlog.txt colorful.

(HD version is available on Vimeo)

I playing some Flash not related with FLARToolKit after a long time. yes, I came up with an idea during watching flashlog.txt. How do you debug Flash? I always debugging to watch flashlog.txt using with Terminal.app, like this.

tail -f ~/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt

Open Terminal.app (on Mac) and type this commande. Then, trace log displayed in realtime. Unix like log watching method. So, an inspration hits me. In Terminal.app, it's able to use escape sequence. Escape sequences are used to change the character color, cursor position and so on, to output centain character codes.

Then, I made it, ColorLog library.

You can control the character color and cursor position, if you don't know about escape sequenses. Of course, this library is based on assumption using Terminal.app and above command. Samples inculded in this library are useless, but it has some potential, I think. change the color by log level like INFO, WARN or ERROR.

Download from here. Demo swf using in the video is also uploaded. It' totaly useless to watch only swf. Please watch flashlog.txt with Terminal.app. I also commited the source code to Spark project.

1 Response to “Make flashlog.txt colorful.”

  1. tech.cenkhor.org » Blog Archive » flex builder3でtrace Says:

    [...] Saqoosha.net » flashlog.txt をカラーにする [...]

Leave a Reply



Saqoosha.net は Windows なら Internet Explorer 7, Firefox 3, Safari 3, Mac なら Firefox 3, Safari 3 でいい感じになるように作ってありますのでそれ以外のブラウザでは Saqoosha が意図しない見た目になっている可能性がありますのでよろしくです。
どうやら Flash Player の最新版がインストールされていないようです。こちらから最新版をインストールするともうちょっと素敵な Saqoosha.net を見ることができるかもしれません → Flash Player Download