diff options
author | Ashish Gupta <ashmew2@gmail.com> | 2017-10-25 22:25:41 +0200 |
---|---|---|
committer | Ashish Gupta <ashmew2@gmail.com> | 2017-10-25 22:25:41 +0200 |
commit | 346baf80d8a0785d48a2faeae0af42258e22150d (patch) | |
tree | f4edb6511a5919556de29e621f01017655d83f61 /frontends/kolibrios/gui.c | |
parent | ea8d49cc5da9f13baff2f44d8cf0ddde774e77bb (diff) | |
download | netsurf-346baf80d8a0785d48a2faeae0af42258e22150d.tar.gz netsurf-346baf80d8a0785d48a2faeae0af42258e22150d.tar.bz2 |
Use libnslog.
Get rid of LOG() macro calls and replace with calls to NSLOG.
Diffstat (limited to 'frontends/kolibrios/gui.c')
-rw-r--r-- | frontends/kolibrios/gui.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/kolibrios/gui.c b/frontends/kolibrios/gui.c index a60bce560..159053d16 100644 --- a/frontends/kolibrios/gui.c +++ b/frontends/kolibrios/gui.c @@ -467,7 +467,7 @@ process_cmdline(int argc, char** argv) /* {0, 0, 0, 0 } */ /* }; /\* no long options *\/ */ - LOG("argc %d, argv %p", argc, argv); + NSLOG(netsurf, INFO, "argc %d, argv %p", argc, argv); fename = "kolibri"; febpp = 32; @@ -597,7 +597,7 @@ static void framebuffer_run(void) nsfb_event_t event; int timeout; /* timeout in miliseconds */ - LOG("framebuffer_run() executing!"); + NSLOG(netsurf, DEBUG, "framebuffer_run() executing!"); while (fb_complete != true) { /* run the scheduler and discover how long to wait for @@ -2181,7 +2181,7 @@ main(int argc, char** argv) if (ret != NSERROR_OK) die("Options failed to initialise"); - LOG("Resources are at : %s", respath); + NSLOG(netsurf, INFO, "Resources are at : %s", respath); options = filepath_find(respaths, "Choices"); nsoption_read(options, nsoptions); @@ -2231,8 +2231,8 @@ main(int argc, char** argv) urldb_load_cookies(nsoption_charp(cookie_file)); /* create an initial browser window */ - LOG("calling browser_window_create with Size(hxw)=%dx%d\n", feheight, fewidth); - LOG("calling browser_window_create with URL=%s\n", feurl); + NSLOG(netsurf, DEBUG, "calling browser_window_create with Size(hxw)=%dx%d\n", feheight, fewidth); + NSLOG(netsurf, DEBUG, "calling browser_window_create with URL=%s\n", feurl); ret = nsurl_create(feurl, &url); if (ret == NSERROR_OK) { @@ -2254,7 +2254,7 @@ main(int argc, char** argv) netsurf_exit(); if (fb_font_finalise() == false) - LOG("Font finalisation failed."); + NSLOG(netsurf, CRITICAL, "Font finalisation failed."); /* finalise options */ nsoption_finalise(nsoptions, nsoptions_default); |