Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 0bdbf371f93662c8f0deeff7a1d29166 > files > 10

cheops-ng-0.2.3-5mdv2010.0.i586.rpm

The logger is fairly straightforward.  Just include logger.h and then you
can start logging events with clog(LOG_x, ...)  Your choice for LOG_x is
one of:

	LOG_DEBUG:	Purely debugging information
	LOG_NOTICE:	Some event shouldn't happen, but it's not critical
	LOG_WARNING:	Something strange and important happened
	LOG_ERROR:	Something bad happened and program must terminate.

Just because you log something with LOG_ERROR, that does not make the
program terminate.