My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

Windowed, light weight logging utility for Flash based web and desktop applications.

Demo here: http://www.oyvindnordhagen.com/blog/olog

It's not a debugger, a profiler, a command line interface, a competitor to DeMonster Debugger or anything like that. It's a well featured logging utility that will make you stop using that trace statement. It's free and also, it's really, really, really simple to use. Once included in your source path, all you need to get started is this:

Version 1.3.0 IMPORTANT CHANGES, READ NOTES!

Features

Added support for custom log targets. These can be activated by Olog.activateTargets(). IMPORTANT: See notes! Simplified utility panel Added check for updates to utility panel Added clear to utility panel to clear all text from log window Added data type comparison to assert() Added support for getters and setters in Olog.describe() Added warning for key binding overrides

Fixes

Fixed return boolean on assert Fixed breakPoint args. Primitive values are appended to the single line log message, one object is displayed with full description and one object followed by all string args will display a description filtered against the property names passed after the first argument.

Notes

Log targets replaces the event dispatching functionality of Olog. OlogEvent is removed and you can no longer call addEventListener on Olog. Instead create a custom log target that implements ILogTarget and pass it to Olog.activateTargets()

Version 1.2.8

Features

  • Added simple assert() function
  • getCallee will now insert "constructor" instead of repeating the class name
  • traceDisplayList now displays child index for each child
  • traceDisplayList now supports display object containers that are not on stage, in which case child index is displayed as "X".
  • traceDisplayList now runs backwards to display children in the correct stacking order in the log window
  • traceDisplayList now supports argument-less functions as the property argument
  • Option expandArrayItems (toggle, default: false) to enable parsing of array items individually instead of toString value
  • Option colorizeColorStrings (toggle, default: true) to make Olog display detected color strings (e.g. 0xff0000) in the color they describe
  • Olog can now be enabled to dispatch the event OlogEvent.OLOG_OUT with each message written to the log. This event contains the full parsed Oline vo for external use.
  • Olog can now be enabled send log messages to the JS console with console.log, console.warn and console.error depending on the severity og the message.

Fixes

  • Corrected a small spelling mistake in noMethodBodyWarning()
  • Fixed introspection in breakPoint()
  • Corrected property name limit lits in Olog.describe
  • Fixed a regex match bug with traceDisplayList

Version 1.2.3 Features:

  • Added backwards compatible support for global error handling
  • Added key binding utility. Allows for calling functions by typing a predefined character sequence.
  • Added Olog.traceDisplayList to output a tree structure representation of the display list from a given container
  • Fixed an issue causing context menu to disappear when Olog.window was added directly to stage

Version 1.2 Features:

  • Added shorthand function otrace()
  • Added utility function breakPoint() for logging virtual break points
  • Added utility function nullFunction for use in yet to be assigned callback situations
  • Added utility fucntion getCallee() for returning the string of a point in the call stack
  • Added utility function noMethodBodyWarning() for indicating an empty method and its position
  • Log messages from Olog itself now have a proper origin
  • More thorough introspection when using describe method. More properties found.
  • Added automatic regular trace output via property enableRegularTraceOutput
  • Added memory usage display in title bar
  • Update check is off by default
  • Describe robustness
  • More info when tracing runtime info
  • Added line wrapping preference

Version 1.2 Fixes:

  • Resolved issue where prefs pane would stay open after minimizing
  • Resolved issue with filtering on log level
  • General stability fixes
  • More compressed log statements with IOErrorEvents
  • Resolved text coloring and object name bug with describe

It adds 20 KB to your movie and it looks like this:

Powered by Google Project Hosting