API Reference
App Logs
Read and clear PlainApp's rolling log file. Intended for debugging — developer mode only.
Type Definitions
bash
# appLogs returns an array of plain strings (one per log line, newest-first).
# appLogPath returns the absolute path of the current log file on the device.Operations
query
appLogs
Read log lines from the rolling log file, newest-first. Use offset/limit for pagination.
bash
query GetAppLogs($offset: Int!, $limit: Int!) {
appLogs(offset: $offset, limit: $limit)
}query
appLogPath
Get the absolute filesystem path of the current log file.
bash
query GetAppLogPath {
appLogPath
}mutation
clearAppLogs
Truncate the current log file.
bash
mutation ClearAppLogs {
clearAppLogs
}