diff options
Diffstat (limited to 'content/handlers/javascript/duktape')
-rw-r--r-- | content/handlers/javascript/duktape/dukky.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c index 4d21573b0..dcbff6854 100644 --- a/content/handlers/javascript/duktape/dukky.c +++ b/content/handlers/javascript/duktape/dukky.c @@ -179,7 +179,7 @@ dukky_push_node_stacked(duk_context *ctx) /* ... node nodeptr klass nodes */ duk_pop_3(ctx); /* ... node */ - { + if (NSLOG_COMPILED_MIN_LEVEL <= NSLOG_LEVEL_DEEPDEBUG) { duk_dup(ctx, -1); const char * what = duk_safe_to_string(ctx, -1); NSLOG(dukky, DEEPDEBUG, "Created: %s", what); @@ -479,7 +479,7 @@ dukky_push_node(duk_context *ctx, struct dom_node *node) /* ... node nodes */ duk_pop(ctx); /* ... node */ - { + if (NSLOG_COMPILED_MIN_LEVEL <= NSLOG_LEVEL_DEEPDEBUG) { duk_dup(ctx, -1); const char * what = duk_safe_to_string(ctx, -1); NSLOG(dukky, DEEPDEBUG, "Found it memoised: %s", what); |