API リファレンス

App Logs

PlainApp のローリングログファイルの読み取りとクリアを行います。デバッグ用——開発者モードのみ。

型定義

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.

操作

query

appLogs

ローリングログファイルからログ行を読み取ります (新しいものが先)。ページネーションには offset/limit を使用します。

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

appLogPath

現在のログファイルの絶対ファイルシステムパスを取得します。

bash
query GetAppLogPath {
  appLogPath
}
mutation

clearAppLogs

現在のログファイルを切り詰めます。

bash
mutation ClearAppLogs {
  clearAppLogs
}