commit | 43db045ff82678cb3b9ab93d822a743459172874 | [log] [tgz] |
---|---|---|
author | Andy Green <andy@warmcat.com> | Thu Jan 10 19:50:35 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Thu Jan 10 22:16:37 2013 +0800 |
tree | a2b297a252c84e655241bac413849aace5bba85b | |
parent | 4550f1d7b5e1850b4de6fab0d7155609a302fbd6 [diff] |
introduce logging api and convert all library output to use it - multiple debug context calls lwsl_ err, warn, debug, parser, ext, client - api added to set which contexts output to stderr using a bitfield log_level - --disable-debug on configure removes all code that is not err or warn severity - err and warn contexts always output to stderr unless disabled by log_level - err and warn enabled by default in log_level Signed-off-by: Andy Green <andy@warmcat.com>