summaryrefslogtreecommitdiff
path: root/utils/log.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-04 14:31:12 +0100
committerVincent Sanders <vince@kyllikki.org>2017-09-06 18:45:35 +0100
commit72e6050eb3ae7c9e7a96936f2949bae7ef8ca4be (patch)
tree953ea4dfe2dd6916af1a54bf8d985f7b31e56896 /utils/log.h
parent63f5ba6f62eb3f506d06d16f29e18c49338a1128 (diff)
downloadnetsurf-72e6050eb3ae7c9e7a96936f2949bae7ef8ca4be.tar.gz
netsurf-72e6050eb3ae7c9e7a96936f2949bae7ef8ca4be.tar.bz2
add low level cache category and use it
Diffstat (limited to 'utils/log.h')
-rw-r--r--utils/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/log.h b/utils/log.h
index 0e73f4d37..50ceac0b1 100644
--- a/utils/log.h
+++ b/utils/log.h
@@ -43,6 +43,7 @@ typedef bool(nslog_ensure_t)(FILE *fptr);
*/
extern nserror nslog_init(nslog_ensure_t *ensure, int *pargc, char **argv);
+/* ensure a logging level is defined */
#ifndef NETSURF_LOG_LEVEL
#define NETSURF_LOG_LEVEL INFO
#endif
@@ -56,6 +57,7 @@ extern nserror nslog_init(nslog_ensure_t *ensure, int *pargc, char **argv);
#include <nslog/nslog.h>
NSLOG_DECLARE_CATEGORY(netsurf);
+NSLOG_DECLARE_CATEGORY(llcache);
#else /* WITH_NSLOG */
@@ -89,8 +91,6 @@ extern void nslog_log(const char *file, const char *func, int ln, const char *fo
} \
} while(0)
-#define NSLOG_DEFINE_CATEGORY(catname, description)
-
#endif /* WITH_NSLOG */
#endif