diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-09-03 23:19:11 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-09-06 18:45:35 +0100 |
commit | 63f5ba6f62eb3f506d06d16f29e18c49338a1128 (patch) | |
tree | 7e4d91fd664fb572aff1d64093a93c1bb38fdd6f /content/handlers/javascript/duktape/Window.bnd | |
parent | 9e81082355a54daf468589f5c4f351d869ec5a21 (diff) | |
download | netsurf-63f5ba6f62eb3f506d06d16f29e18c49338a1128.tar.gz netsurf-63f5ba6f62eb3f506d06d16f29e18c49338a1128.tar.bz2 |
update bindings with logging changes
Diffstat (limited to 'content/handlers/javascript/duktape/Window.bnd')
-rw-r--r-- | content/handlers/javascript/duktape/Window.bnd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index 4af8c7aa9..3f680d47d 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -25,9 +25,10 @@ init Window(struct browser_window *win, struct html_content *htmlc) /* element window */ priv->win = win; priv->htmlc = htmlc; - LOG("win=%p htmlc=%p", priv->win, priv->htmlc); + NSLOG(netsurf, INFO, "win=%p htmlc=%p", priv->win, priv->htmlc); - LOG("URL is %s", nsurl_access(browser_window_get_url(priv->win))); + NSLOG(netsurf, INFO, + "URL is %s", nsurl_access(browser_window_get_url(priv->win))); %} prototype Window() @@ -138,6 +139,6 @@ method Window::alert() %{ duk_size_t msg_len; const char *msg = duk_safe_to_lstring(ctx, 0, &msg_len); - LOG("JS ALERT: %*s", (int)msg_len, msg); + NSLOG(netsurf, INFO, "JS ALERT: %*s", (int)msg_len, msg); return 0; %} |