API குறிப்பு
App Logs
PlainApp-இன் rolling log கோப்பைப் படிக்கவும் மற்றும் அழிக்கவும். பிழைத்திருத்தத்திற்காக — developer mode-இல் மட்டுமே.
வகை வரையறைகள்
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
rolling log கோப்பிலிருந்து log வரிகளைப் படிக்கவும், newest-first. pagination-க்கு offset/limit-ஐப் பயன்படுத்தவும்.
bash
query GetAppLogs($offset: Int!, $limit: Int!) {
appLogs(offset: $offset, limit: $limit)
}query
appLogPath
தற்போதைய log கோப்பின் absolute filesystem பாதையைப் பெறவும்.
bash
query GetAppLogPath {
appLogPath
}mutation
clearAppLogs
தற்போதைய log கோப்பை truncate செய்யவும்.
bash
mutation ClearAppLogs {
clearAppLogs
}