MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveAppLogPath

Method resolveAppLogPath

src/daemon/session-store.ts:85–87  ·  view source on GitHub ↗

Path to session-scoped app log file. Agent can grep this for token-efficient debugging.

(sessionName: string)

Source from the content-addressed store, hash-verified

83
84 /** Path to session-scoped app log file. Agent can grep this for token-efficient debugging. */
85 resolveAppLogPath(sessionName: string): string {
86 return path.join(this.resolveSessionDir(sessionName), 'app.log');
87 }
88
89 resolveAppLogPidPath(sessionName: string): string {
90 return path.join(this.resolveSessionDir(sessionName), 'app-log.pid');

Callers 7

handleLogsPathFunction · 0.80
handleLogsDoctorFunction · 0.80
handleLogsMarkFunction · 0.80
handleLogsClearFunction · 0.80
handleLogsStartFunction · 0.80
handleNetworkCommandFunction · 0.80
session.test.tsFile · 0.80

Calls 1

resolveSessionDirMethod · 0.95

Tested by

no test coverage detected