API-Referenz
App-Logs
PlainApps rollende Log-Datei lesen und leeren. Für Debugging gedacht — nur Entwicklermodus.
Typdefinitionen
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.Operationen
query
appLogs
Log-Zeilen aus der rollenden Log-Datei lesen, neueste zuerst. offset/limit für Paginierung verwenden.
bash
query GetAppLogs($offset: Int!, $limit: Int!) {
appLogs(offset: $offset, limit: $limit)
}query
appLogPath
Den absoluten Dateisystem-Pfad der aktuellen Log-Datei abrufen.
bash
query GetAppLogPath {
appLogPath
}mutation
clearAppLogs
Die aktuelle Log-Datei abschneiden.
bash
mutation ClearAppLogs {
clearAppLogs
}