commit | b43bc048eb4c2c0855d4d7c4ad6b0b3c14e50eb2 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Jun 27 10:29:17 2011 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Jun 27 10:40:25 2011 +0200 |
tree | bd413e31f3b84238287a01d19128809433b93b2c | |
parent | ea19c978160af32e4fee8001f5308518bcf4fd4c [diff] |
logging: introduce library-internal logging categories We do this by using a trick: library-internal log categories use negative subsystem numbers, which are converted into positive array indexes at the time of logging. library-internal log categories need to be knwo at compile-time, while application-specified categories now are of unlimited number, as they are dynamically allocated.