class SetJavaScriptLogLevel

Defined at line 941 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/markers.h

If set to a value other than [`ConsoleLogLevel.NONE`], allows web content to log messages

to the [`fuchsia.logger/LogSink`] configured for this [`Frame`], via the

`console` object (e.g. using `debug()`, `log()`, `info()`, `warn()` and

`error()`).

The default value is [`ConsoleLogLevel.NONE`].

As the system log may be persisted, it is recommended that [`ConsoleLogLevel.NONE`] be used

in Incognito and other private browsing modes.

Log lines are written to the [`fuchsia.logger/LogsSink`] configured

for this [`fuchsia.web/Frame`], with severities mapped as follows:

- `debug()`, `log()` and `info()` are logged at [`fuchsia.logger/LogLevelFilter.INFO`]

severity.

- `warn()` is logged at [`fuchsia.logger/LogLevelFilter.WARN`] severity.

- `error()` is logged at [`fuchsia.logger/LogLevelFilter.ERROR`] severity.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal