diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-09-04 14:31:12 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-09-06 18:45:35 +0100 |
commit | 72e6050eb3ae7c9e7a96936f2949bae7ef8ca4be (patch) | |
tree | 953ea4dfe2dd6916af1a54bf8d985f7b31e56896 /utils/log.h | |
parent | 63f5ba6f62eb3f506d06d16f29e18c49338a1128 (diff) | |
download | netsurf-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.h | 4 |
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 |