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

apache-flex, debugging, flash, logging

Solution

You have several options here:

- `trace()`

- Flex loggers

- Flex-console (uses `MiniDebugTarget`)

Problem

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.

Original source

Related problems