2003-May-20 17:47 |
1.5
|
Check-in
[3354]:
- improve prefixing by renaming variables
l2_fslenv > fsldebug_l2_env
l2_fslnch > fsldebug_l2_nch
triedopenfsldebug > fsldebug_transientproblem
openfsldebugpermanenterror > fsldebug_permanentproblem
- add function fsldebugcreate()
- rename functions and slightly change their operation to work in a
stealth mode for LOG_NDELAY support
openfsldebug() > fsl
closefsllog() > fsldebugdestroy()
- make fsldebug() a metafunction and split the old functionality into
fsldebugl2() for l2 and fsldebugf2() for stderr filedescriptor
- improve prefixing by adding debugging prototypes to support fsldebug()
calling fsldebugcreate() which uses fsldebug() for logging
static void fsldebugcreate (void);
static void fsldebug (l2_level_t, const char *, ...);
static int fsldebugl2 (l2_level_t, const char *, va_list);
static int fsldebugf2 (l2_level_t, const char *, va_list);
static void fsldebugdestroy(void);
- change default for delayopen to TRUE as user has to use LOG_NDELAY to
force immediate open.
- improve handling of NULL strings when debugging
- unify debugging messages on entry to captured functions using common
prefix 'fsl in ...'
- obey LOG_NDELAY on fsl debugging as well
- add filedescriptor consumption checks to test suite
- remove confusing use of the word "error" in test suite messages
- improve Makefile to prepare and detect empty files
- tested on FreeBSD, Linux and Solaris
- not intended for release - further modifications are underway By thl.
(diff)
|
2002-Jul-24 17:29 |
1.4
|
Check-in
[2341]:
added solaris and linux compatiblity; improved readability of traces By thl.
(diff)
|
2002-Jul-23 16:37 |
1.3
|
Check-in
[2329]:
added userlevel debugging through FSL_DEBUG environment variable By thl.
(diff)
|
2002-Jul-18 17:18 |
1.2
|
Check-in
[2316]:
flush with lots of debugging stuff By thl.
(diff)
|
2002-Jul-09 11:42 |
1.1
|
Check-in
[2262]:
First cut for new-born OSSP fsl, a faking syslog(3) API library.
It is internally based (and contains) OSSP l2 and OSSP cfg. By rse.
|