RLog 1.4

RLog provides a flexible message logging facility for C programs and libraries.
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:

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, 7:49 GMT
price:
FREE!
developed by:
Valient Gough
homepage:
arg0.net
license type:
LGPL (GNU Lesser General Public License) 
category:
ROOT \ System \ Logging

FREE!

In a hurry? Add it to your Download Basket!

user rating 22

2.8/5
 

0/5

Add your review!

SUBMIT