summaryrefslogtreecommitdiff
path: root/utils/log.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 10:09:29 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 10:12:45 +0100
commit9742a8317f66cc2802b3d92456ec0516a6de8c79 (patch)
tree5949a227bc2af861c6df0198c88e214100c42e43 /utils/log.c
parent6683818c182d396d17ea8bde035a91da20da9e9c (diff)
downloadnetsurf-9742a8317f66cc2802b3d92456ec0516a6de8c79.tar.gz
netsurf-9742a8317f66cc2802b3d92456ec0516a6de8c79.tar.bz2
Dukky: Add and utilise a jserrors category
Normal, and verbose logging will now also log all JS errors in order that we stand a chance of debugging things more easily when testing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'utils/log.c')
-rw-r--r--utils/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/log.c b/utils/log.c
index 2168e646b..68b188e0f 100644
--- a/utils/log.c
+++ b/utils/log.c
@@ -100,6 +100,7 @@ NSLOG_DEFINE_CATEGORY(schedule, "Scheduler");
NSLOG_DEFINE_CATEGORY(fbtk, "Framebuffer toolkit");
NSLOG_DEFINE_CATEGORY(layout, "Layout");
NSLOG_DEFINE_CATEGORY(dukky, "Duktape JavaScript Binding");
+NSLOG_DEFINE_CATEGORY(jserrors, "JavaScript error messages");
static void
netsurf_render_log(void *_ctx,