aboutsummaryrefslogtreecommitdiffstats
path: root/support/hololens/ServoApp
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2020-03-23 07:57:13 +0100
committerPaul Rouget <me@paulrouget.com>2020-03-24 10:28:28 +0100
commit5ca122a9387e030bede15112a530b5cf23ba13d4 (patch)
tree83c1285463faead6d67c7d6378601e72460f425d /support/hololens/ServoApp
parente1103176e3de8a8c0996d1d60c092cfd8f60e805 (diff)
downloadservo-5ca122a9387e030bede15112a530b5cf23ba13d4.tar.gz
servo-5ca122a9387e030bede15112a530b5cf23ba13d4.zip
UWP: include submodule logs
Diffstat (limited to 'support/hololens/ServoApp')
-rw-r--r--support/hololens/ServoApp/ServoControl/Servo.cpp36
1 files changed, 16 insertions, 20 deletions
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;