ifSystemLog

Implemented by

NameDescription
roSystemLogThe roSystemLog component enables the application to receive events from the Roku Streaming Player that are intended for reporting errors and trends, rather than trigger a response to a user action

Supported methods

EnableType(logType as String) as Void

Description

Enables log message of type logType. When a log type is enabled, system log messages of that type are sent to the message port that was set using SetMessagePort().

All system log events are disabled by default and must be explicitly enabled by the application.

Parameters

NameTypeDescription
logTypeStringThe logType to be enabled, which may be one of the following values:
Valid logTypesDescription
"http.connect"Sent whenever a successful HTTP connection is made. This means that the server responded to the HTTP request with a success (2xx) status code. However, this does not necessarily mean that all of the body of the request has been received successfully
"http.error"Sent whenever an error occurs while executing an HTTP request. This may be sent during the time of the initial connection for two possible reasons: ${httperrorlist}
"bandwidth.minute"Sent every minute to report the current measured bandwidth
“http.complete”${httpcompletedescription}