RLog 1.4

RLog provides a flexible message logging facility for C programs and libraries.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
LGPL (GNU Lesser General Public License) 
2.8/5 22
Valient Gough
ROOT \ System \ Logging
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.


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:

Updates were made to compile with gcc 4.x or VC8.
It is now easier to use in dynamic modules.
Thread safety was improved.

Last updated on June 16th, 2008

#message logging #C libraries #C progams #RLog #message #logging #C

Add your review!