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
}