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

Function makeAppLogWriteStream

src/daemon/__tests__/app-log.test.ts:62–65  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

60}
61
62function makeAppLogWriteStream(prefix: string): fs.WriteStream {
63 const root = fs.mkdtempSync(path.join(os.tmpdir(), prefix));
64 return fs.createWriteStream(path.join(root, 'app.log'), { flags: 'a' });
65}
66
67test('buildAppleLogPredicate includes bundle-aware filters', () => {
68 const predicate = buildAppleLogPredicate('com.example.app');

Callers 1

app-log.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected