
flex-console
Flash Log Console provides a simple way to read log messages from your Flash, Flex or AIR projects. Using the robust Logging API from the Flex Framework, Flash Log Console can capture and record all log messages sent by MinuDebugTarget
via LocalConnection
.
Features
- Fully compatible with the
mx.logging
framework - Works out-of-the-box with the
MiniDebugTarget
log target - Filter messages by levels and categories
- Search messages by keywords
- Mark messages for easy reference
- Messages are saved across restarts
- Copy and paste messages with ease
- Intuitive and easy to use interface
- No custom class to import into your projects
- No special installation required
- Works across the IDE, standalone mode or any browser environment
Usage
- Create a
MiniDebugTarget
log target in your project.
``` .. import mx.logging.; import mx.logging.targets.;
public class MyApp {
static private logger:ILogger = Log.getLogger("sample.MyApp");
public function MyApp() {
super();
// Add the MinuDebugTarget to channel
// all log messages to LocalConnection
// You only need to do this once!
var target:LineFormattedTarget = new MiniDebugTarget();
target.filters = ["*"];
target.includeDate = true;
target.includeTime = true;
target.includeCategory = true;
target.includeLevel = true;
Log.addTarget(target);
}
public function foo(bar:String):void {
logger.debug("foo({0})", bar);
try {
// do something
..
} catch(e:Error) {
logger.error("Error: ", e.message);
throw e;
}
}
} ```
- Launch Flex Console and run your project. That's it!
Requirements
Requires the Adobe AIR runtime.
Installation
Download the latest FlashLogConsole-x.x.x.air and install.
Support
For bug reports or feature requests, please use Issues.
Project Information
- License: MIT License
- 10 stars
- svn-based source control
Labels:
flash
flex
logging
console
actionscript3
actionscript
debugger