From 5ca122a9387e030bede15112a530b5cf23ba13d4 Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Mon, 23 Mar 2020 07:57:13 +0100 Subject: UWP: include submodule logs --- support/hololens/ServoApp/ServoControl/Servo.cpp | 36 +++++++++++------------- 1 file changed, 16 insertions(+), 20 deletions(-) (limited to 'support/hololens/ServoApp') diff --git a/support/hololens/ServoApp/ServoControl/Servo.cpp b/support/hololens/ServoApp/ServoControl/Servo.cpp index 8b99970976d..88c2376283b 100644 --- a/support/hololens/ServoApp/ServoControl/Servo.cpp +++ b/support/hololens/ServoApp/ServoControl/Servo.cpp @@ -107,26 +107,22 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height, o.enable_subpixel_text_antialiasing = false; o.vr_pointer = NULL; - // 7 filter modules. - /* Sample list of servo modules to filter. - static char *pfilters[] = { - "servo", - "simpleservo", - "simpleservo::jniapi", - "simpleservo::gl_glue::egl", - // Show JS errors by default. - "script::dom::bindings::error", - // Show GL errors by default. - "canvas::webgl_thread", - "compositing::compositor", - "constellation::constellation", - }; - */ - - // Example Call when *pfilters[] is used: - // o.vslogger_mod_list = pfilters; // servo log modules - // o.vslogger_mod_size = sizeof(pfilters) / sizeof(pfilters[0]); // - // Important: Number of modules in pfilters + // Note about logs: + // By default: all modules are enabled. Only warn level-logs are displayed. + // To change the log level, add "--vslogger-level debug" to o.args. + // To only print logs from specific modules, add their names to pfilters. + // For example: + // static char *pfilters[] = { + // "servo", + // "simpleservo", + // "script::dom::bindings::error", // Show JS errors by default. + // "canvas::webgl_thread", // Show GL errors by default. + // "compositing", + // "constellation", + // }; + // o.vslogger_mod_list = pfilters; + // o.vslogger_mod_size = sizeof(pfilters) / sizeof(pfilters[0]); + o.vslogger_mod_list = NULL; o.vslogger_mod_size = 0; -- cgit v1.2.3