Referencia de la API

Logs de la app

Lee y limpia el archivo de log rotativo de PlainApp. Destinado a depuración — solo modo desarrollador.

Definiciones de tipos

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.

Operaciones

query

appLogs

Lee líneas del archivo de log rotativo, las más nuevas primero. Usa offset/limit para la paginación.

bash
query GetAppLogs($offset: Int!, $limit: Int!) {
  appLogs(offset: $offset, limit: $limit)
}
query

appLogPath

Obtiene la ruta absoluta del sistema de archivos del archivo de log actual.

bash
query GetAppLogPath {
  appLogPath
}
mutation

clearAppLogs

Trunca el archivo de log actual.

bash
mutation ClearAppLogs {
  clearAppLogs
}