How to output some log to console when developing flex application?

Viewed 38841

I'm new to flex, and trying to write some demo applications. Now I have a very newbie question: How to output some log to console(or somewhere else I can see) in a flex application?

In other language, I can use:

System.out.println("mylog");
console.log("mylog");

But I don't know how to do the same in flex.

4 Answers
Related