Flow LotusScript Logging Engine v1.0 Beta 4 Released
August 11th, 2009 by Corey Davis
In celebration of Yellow Day 2009 we have released Flow v1.0 Beta 4, the advanced LotusScript logging engine, to OpenNTF.org. Flow provides a common set of classes that will allow you to easily create a log of events and/or errors for any LotusScript-based Notes application. Logs are written out in a streaming style where events and errors are written to the same document similar to the Miscellaneous Events view of the Domino server’s log.nsf.
Flow contains a full-featured logging engine that allows you to log events and errors to rich-text documents and e-mail messages allowing you to generate easily readable logs with different color text based on the event’s logging level. You may also send logging events and errors to plain-text files, the server console or client status bar, and/or message dialog boxes.
Configuration and setup can be accomplished in is as little as two lines of code and the entire logging suite is fully documented in the Flow API Guide documentation. Example agents, log form, log configuration form and log view elements are provided.
Though still considered to be in Beta, Flow is so stable that it is used as the official logging engine for all commercial products sold by Conxsys, including our most recent product nsfRewind. As an internal project, Flow was created back in 2004 to be used in Logisitc and later released as an open-source project to OpenNTF in April 2008.
Beta 4 now includes a caching capability. By default, events and errors are written to the log document as they happen. With the new cache feature you can now write events and errors to a cache, the size of which you specify, all of which will be written to the log document when the cache is full. This feature was suggested by Flow user Gavin Woods.
One bug fixed was also introduced into Beta 4. Flow user Chris Hudson pointed out that log documents were not sorting correctly in the log views when the date format on the server was set to DD/MM/YYYY. This issue has been fixed with this release.
While Flow is so easy to use that it can be setup with only two lines of code, Flow is also an exceptionally well documented open-source project. With a 109 page API Guide, you should have all the information you need to make the most out of Flow.
Flow is distributed under the Apache License v2. Get your copy today from the Flow project page on OpenNTF.org.
Tags: flow, Lotus, lotus-domino, lotus-notes, LotusScript, openntf, yellowday, yellowday2009
Posted in Conxsys, Domino, 832 views,
0 Comments
Follow Conxsys on Twitter

