StaticmessageGets the number of new entries.
StaticmessagesStaticclearRemoves all log entries.
Optionalverbosity: EnumValue<LogVerbosity, number>Optionalcategory: numberStaticlogStaticlogStaticlogStaticlogLogs a new message to the global debug log using the provided type.
Message to log.
Verbosity level defining message importance.
Optionalcategory: numberOptional index of the category to group the message under.
StaticlogStaticlogStaticsaveSaves a log about the current state of the application to the specified location.
Absolute path to the log filename.
Optionaltype: EnumValue<SavedLogType, number>Format of the saved log.
StaticsubmitSubmits a crash report to the RSX server.
The log entry to submit.
The current engine version.
OptionalfnOnSubmitted: ((isSuccess: boolean) => void)Static ReadonlyonTriggered when a new entry in the log is added.
Static ReadonlyonTriggered when a new entry were read.
Static ReadonlyonTriggered when a new error entry in the log is added.
Error logs are also dispatched by onLogEntryAdded, this API helps to only surface error logs. Sim thread only.
Static ReadonlyonTriggered when the log is cleared.
The Debug class provides various functionality relating to debugging and logging.