RLog 1.3.7 review

Download
by rbytes.net on

RLog is a software that provides a flexible message logging facility for C++ programs and libraries. It is subscription based, mea

License: LGPL (GNU Lesser General Public License)
File size: 424K
Developer: Valient Gough
0 stars award from rbytes.net

RLog is a software that provides a flexible message logging facility for C++ programs and libraries.

It is subscription based, meaning you can subscribe to messages of your choice in an number of ways: by hierarchical channel name (e.g. "debug", "debug/ special", "error", etc.), or filename, component name, etc.

Log messages are individually enabled. It is meant to be fast enough to leave in production code - even where it may be called many times, as both the GCC and Intel compilers reduce the logging overhead a few clock cycles if they are dormant (with no subscribers).

Other add-on components can extend subscriptions to external programs, allowing you to enable and collect debugging messages remotely.

Usage:

In order to begin using RLog in your code, you should do the following:
define RLOG_COMPONENT in your build environment. Eg: librlog is built with -DRLOG_COMPONENT="rlog".

You should use a unique name for your program or library (do not use "rlog"). If your program is made up of separate components, then you can define RLOG_COMPONENT as a different name for each component.
(optional) add a call to RLogInit() in your main program startup code. This is not a requirement, however not including it may reduce functionality of external rlog modules.
link with librlog
add subscribers (rlog::StdioNode , rlog::SyslogNode , or your own) to catch any messages you are interested in.

What's New in This Release:
Features were added to the StdioNode logger and the build scripts were updated.

RLog 1.3.7 keywords