Référence de l'API
Logs de l'app
Lit et efface le fichier de log rotatif de PlainApp. Destiné au débogage — mode développeur uniquement.
Définitions de types
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.Opérations
query
appLogs
Lit les lignes de log du fichier de log rotatif, du plus récent au plus ancien. Utilisez offset/limit pour la pagination.
bash
query GetAppLogs($offset: Int!, $limit: Int!) {
appLogs(offset: $offset, limit: $limit)
}query
appLogPath
Récupère le chemin absolu du système de fichiers du fichier de log actuel.
bash
query GetAppLogPath {
appLogPath
}mutation
clearAppLogs
Tronque le fichier de log actuel.
bash
mutation ClearAppLogs {
clearAppLogs
}