MCPcopy Index your code
hub / github.com/devcontainers/cli / event

Function event

src/spec-utils/log.ts:111–116  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

109export function createPlainLog(write: (text: string) => void, getLogLevel: () => LogLevel): LogHandler {
110 return {
111 event(e) {
112 const text = logEventToFileText(e, getLogLevel());
113 if (text) {
114 write(text);
115 }
116 },
117 };
118}
119

Callers

nothing calls this directly

Calls 3

logEventToFileTextFunction · 0.85
writeFunction · 0.85
logEventToTerminalTextFunction · 0.85

Tested by

no test coverage detected