blob: 0ab0c9ca2da0c1488610ee8041c8ffefee6d92b5 [file] [log] [blame] [view]
# Enable verbose logging for input events
Adding extra logging for input event dispatch allows you to see what (and how)
components are handling event dispatch.
To enable vebose logging for components that use
<code>[fxl](/docs/development/languages/c-cpp/</code> to parse their
args, add the `--verbose` flag to its invocation. For example, `Root Presenter`
and `Scenic` components can issue verbose logging.
The following sample code shows the
[component manifest](/docs/concepts/components/v1/ (`.cmx`) of a
test that starts a `Scenic` component in its `injected-services` clause:
"facets": {
"fuchsia.test": {
"injected-services": {
"fuchsia.ui.scenic.Scenic": "fuchsia-pkg://",
To add extra logging for input event dispatch, modify the
`fuchsia.ui.scenic.Scenic` line in the following way:
"fuchsia.ui.scenic.Scenic": [ "fuchsia-pkg://", "--verbose=2" ],
Each service instance of `Scenic` (or `Root Presenter`) must be
modified, unless you know which service is invoked first.
In most ways, this is identical to modifying a
<code>[sysmgr](/src/sys/sysmgr/</code> services
configuration file.