From 9742a8317f66cc2802b3d92456ec0516a6de8c79 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 2 Aug 2019 10:09:29 +0100 Subject: 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 --- utils/log.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/log.c') 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, -- cgit v1.2.1