Use NSLOG rather than LOG/JS_LOG
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
f64da1abda
commit
41eed8eeaf
|
@ -35,7 +35,7 @@ method Document::write()
|
|||
}
|
||||
duk_concat(ctx, duk_get_top(ctx));
|
||||
text = duk_safe_to_lstring(ctx, 0, &text_len);
|
||||
JS_LOG("Writing %*s", (int)text_len, text);
|
||||
NSLOG(netsurf, DEBUG, "Writing %*s", (int)text_len, text);
|
||||
|
||||
err = dom_node_get_user_data(priv->parent.node,
|
||||
corestring_dom___ns_key_html_content_data,
|
||||
|
@ -70,7 +70,7 @@ method Document::writeln()
|
|||
duk_concat(ctx, duk_get_top(ctx));
|
||||
text = duk_safe_to_lstring(ctx, 0, &text_len);
|
||||
|
||||
JS_LOG("Writeln %*s", (int)text_len, text);
|
||||
NSLOG(netsurf, DEBUG, "Writeln %*s", (int)text_len, text);
|
||||
err = dom_node_get_user_data(priv->parent.node,
|
||||
corestring_dom___ns_key_html_content_data,
|
||||
&htmlc);
|
||||
|
|
|
@ -54,7 +54,7 @@ prototype Window()
|
|||
|
||||
getter Window::document()
|
||||
%{
|
||||
JS_LOG("priv=%p", priv);
|
||||
NSLOG(netsurf, DEBUG, "priv=%p", priv);
|
||||
dom_document *doc = priv->htmlc->document;
|
||||
dukky_push_node(ctx, (struct dom_node *)doc);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue