What is It?
Why should I use it over other Loggers?
There’s less to learn to get Loggee up and running, but more importantly, Loggee is meant to give you a quick visual about how your application is doing, much like the gauges and lights inside your car. And if you need more information about a particular problem, it’s available.
You can use Loggee in place of throwing error messages and faults to get additional information about the issue, including the order of method calls that took place prior to an issue, the severity, and the error itself as an exposed, complex object.
What does Loggee do?
Loggee:
- Displays each log in a ‘quick-glance’ format, including:
- row number
- class name
- method name
- developer-defined message
- level type
- on row selection
- a complex object. Loggee allows you to pass in complex objects that are hidden until an item is selected. The results can be copied to your clipboard for further examination and shared with colleagues. Loggee adds quick-glance data to the output to save you from having to add detail to bug-trackers.
- Logs all message or a specific level. Loggee logs the following levels: fatal, info, debug, warning, or error messages.
- Filters logs based on one or more class names.
- Remembers logs and filters the grid the next time your applications loads
- Show your current version number, helping you and your team to determine if SWFs shown are the most recent version.
- Can clear a list of logs.
- Can stop and restart logging.
- Shows the current memory usage.
- Logs information in a Flex TitleWindow that can be conveniently hidden to the side and opened again when needed.
- Logs messages to a grid where the items are easy to sort based on execution order, message type, method name, or class name.
- Allows logging locally (with a debug swf) by setting the show-log property to true, or in production (with a release SWF) by passing in a URL parameter.
- Shows color-coded rows based on the message level.
- Automatically scrolls the list to the most recent log.
- Comes with source-code and as a library SWC.
What does Loggee look like?
- Log List
- Class filter
How do I use it?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="handleCreationComplete(event)"> <mx:Script> <![CDATA[ import mx.events.FlexEvent; import mx.managers.PopUpManager; import org.davidbuhler.logger.Loggee; import org.davidbuhler.logger.LoggeeClassLevel; import org.davidbuhler.logger.LoggeeEventLevel; private static const RUN_APPLICATION_DELAY:uint = 2000; private static const SHOW_LOGGER:Boolean = true; private var logger:Loggee; private var timeoutDelayID:uint; private function beginLogging():void { logger = new Loggee(LoggeeEventLevel.ALL , LoggeeClassLevel.ALL); Loggee.isLoggingEnabled = isLoggingEnabled(); if (isLoggingEnabled()) { mx.managers.PopUpManager.addPopUp(logger , this); PopUpManager.centerPopUp(logger); logger.isPopUp = false; timeoutDelayID = setTimeout(runApplication , RUN_APPLICATION_DELAY); } else { this.runApplication(); } } private function handleCreationComplete(event:FlexEvent):void { this.beginLogging(); Loggee.log(this.className , 'handleCreationComplete' , 'message' , LoggeeEventLevel.INFO , event); } private function isLoggingEnabled():Boolean { return Boolean(mx.core.Application.application.parameters.showLogger) || SHOW_LOGGER; } private function runApplication():void { // begin loading data } ]]> </mx:Script> </mx:Application> |
Where can I get Loggee?
The SVN Repository is hosted on code.google.com, here:
Trunk: http://loggee.googlecode.com/svn/trunk/SWC: http://loggee.googlecode.com/svn/trunk/libs/Loggee.swc
Is there a bug tracker?
Yes. Log issues here.
Additional Information
This project gains inspiration from the Apache Chainsaw project. Chainsaw is, and was, a visual improvement over Log4J. Loggee is meant to improve upon the standard Flex Logging Framework by offering additional features and visual cues that improve developer productivity and reduce application errors, both in development and production.
Want to help improve Loggee?
If there are enhancements you’d care to suggest, feel-free to comment below.
Development Schedule
Loggee is evolving daily from April of 2010.



Dusty
/ April 19, 2010Prettier? Prove it! Let’s see screenshots!
admin
/ April 19, 2010Screenshots uploaded.