New logger module available

BlitzMax Forums/BlitzMax Programming/New logger module available

Muttley(Posted 2009) [#1]
This BlitzMax Logger module allows you to log messages with varying levels of severity to one or more log writers

Log writers are included which write messages to the console, to files and via UDP to Syslog servers. Logging severity levels are based on RFC 3164 for the BSD Syslog protocol.

You can also create custom log writers by deriving a new one from the TLogWriter base class.

You can specify the level of logging you wish a log writer to receive and only messages that fit within that level of logging will be written. Therefore you can have enhanced logging whilst in Debug mode, etc.

This is licensed under the Artistic License 2.0, which is a fairly sane and permissive license. ;)

Requirements

The Logger module requires the following additional modules: bah.boost and bah.datetime

Additionally, if you wish to be able to run the unit tests provided you will also need the bah.maxunit module.

These modules are available from Brucey's maxmods project page here: http://code.google.com/p/maxmods/

Many thanks to Brucey for his bah modules.

You can grab the download here: http://code.google.com/p/muttmod/downloads/list

Or alternatively you can check the source out using SVN.

Muttley