Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] [ANN] log4reb version 2.0.0

From: charles::mougel::spinodo::com at: 20-Sep-2004 11:25

Hi list, a message from Fran=E7ois V. : Version 2.0.0 of log4reb brings major improvements and enhancements. Log4reb 2.0 provides a highly flexible and extensible logging framework. Log4reb has three main components: loggers, appenders and layouts. These three types of components work together to enable developers to log messages according to message type and level, and to control how these messages are formatted and where they are reported. The ability to selectively enable or disable logging requests based on their level is only part of the picture. Log4reb also allows logging requests to print to multiple output destinations called appenders in log4reb speak. A logger may refer to multiple appenders. Each enabled logging request for a given logger will be forwarded to all the appenders in that logger. More often than not, users want to customize not only the output destination but also the output format, a feat accomplished by associating a layout with an appender. The layout formats the logging request according to the user's wishes, whereas an appender takes care of sending the formatted output to its destination In this version, the following appenders are available: * console-appender * file-appender and regarding the layout: pattern-layout. As it is very easy to build new appenders and layouts within the framework, others will follow. Next plan: * an appender to redirect the log messages to a Rebol/View client * an appender that makes asynchronous write to a file (asyn-file-appender) Enjoy - Fran=E7ois V I use his tool, and it's a good help :-) Charles MOUGEL.