idea of multi purpose logging

Harrie Hazewinkel <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <10108391.1021046744@localhost>
HI,

I was wondering what people would think of the idea of a multi
purpose logging. Currently (in version 1.1.6) one can only use
logfiles in a syslog style or log to stdout/stderr.
So what do I mean by multi purpose logging:

A wrapper of all kinds of logging possible from where
to a specific type of logging can be done. This would allow
in a more clean way more kinds of logging in such a way that
the core code still only has only call and from within
that call the multiple logging functions are done.
As a result the gwlib/log.c is the only file that needs to
be changed and there needs to be a log-function file for
each log function.

I hope I have made myself clear if not say so and
I will elaborate a bit more.

regards,

Harrie

Internet Management Consulting
tel: +39-3474932300 / +31-625357135
mailto:[email protected]                http ://www.mod-snmp.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.