summaryrefslogtreecommitdiff
path: root/include/libcss/libcss.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-01-20 17:31:20 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-01-20 17:31:20 +0000
commit0dd48e83fbc246a881609b4c18ce10001ba1cc1a (patch)
tree7494cc81744799ab88f1503ac5ff044be2fcf4a5 /include/libcss/libcss.h
parente220b0fc2ede1dcbbe7e6e62c256e2ec297f26a3 (diff)
downloadlibcss-0dd48e83fbc246a881609b4c18ce10001ba1cc1a.tar.gz
libcss-0dd48e83fbc246a881609b4c18ce10001ba1cc1a.tar.bz2
Add support for logging via libnslog.
Release builds minumum compiled level is warning. Debug builds minimum compiled level is debug.
Diffstat (limited to 'include/libcss/libcss.h')
-rw-r--r--include/libcss/libcss.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcss/libcss.h b/include/libcss/libcss.h
index 89e83b5..9b0ae5e 100644
--- a/include/libcss/libcss.h
+++ b/include/libcss/libcss.h
@@ -13,6 +13,7 @@ extern "C"
{
#endif
+#include <nslog/nslog.h>
#include <libwapcaplet/libwapcaplet.h>
#include <libcss/errors.h>
@@ -24,6 +25,9 @@ extern "C"
#include <libcss/stylesheet.h>
#include <libcss/font_face.h>
+/** Logging category for LibCSS. */
+NSLOG_DECLARE_CATEGORY(libcss);
+
#ifdef __cplusplus
}
#endif