diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-25 12:20:58 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-25 12:20:58 +0000 |
commit | 9e1622a679031d2bb2205ba42e23269600bc9a3a (patch) | |
tree | e9cd00874d96dc1445653c38760d9ec5d06a3da3 /javascript/duktape/dukky.c | |
parent | c0d031bf735559ad1d49ce4d3773ef4788f5a096 (diff) | |
download | netsurf-9e1622a679031d2bb2205ba42e23269600bc9a3a.tar.gz netsurf-9e1622a679031d2bb2205ba42e23269600bc9a3a.tar.bz2 |
Wrap verbose JS logging in debug macro.
Diffstat (limited to 'javascript/duktape/dukky.c')
-rw-r--r-- | javascript/duktape/dukky.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/duktape/dukky.c b/javascript/duktape/dukky.c index 437a3d48a..d583484bf 100644 --- a/javascript/duktape/dukky.c +++ b/javascript/duktape/dukky.c @@ -236,7 +236,7 @@ dukky_push_node_klass(duk_context *ctx, struct dom_node *node) duk_bool_t dukky_push_node(duk_context *ctx, struct dom_node *node) { - LOG("Pushing node %p", node); + JS_LOG("Pushing node %p", node); /* First check if we can find the node */ /* ... */ duk_get_global_string(ctx, NODE_MAGIC); @@ -251,7 +251,7 @@ dukky_push_node(duk_context *ctx, struct dom_node *node) /* ... node nodes */ duk_pop(ctx); /* ... node */ - LOG("Found it memoised"); + JS_LOG("Found it memoised"); return true; } /* ... nodes undefined */ |