MCPcopy
hub / github.com/zgsm-ai/costrict / ICompactTransport

Interface ICompactTransport

src/utils/logging/types.ts:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 * Interface for log transport implementations
53 */
54export interface ICompactTransport {
55 /**
56 * Writes a log entry to the transport
57 * @param entry - The log entry to write
58 */
59 write(entry: CompactLogEntry): void
60
61 /**
62 * Closes the transport and performs cleanup
63 */
64 close(): void
65}
66
67/**
68 * Interface for logger implementations

Callers 8

writeToLogMethod · 0.65
rawMethod · 0.65
outputJsonFunction · 0.65
outputCommandsTextFunction · 0.65
outputModesTextFunction · 0.65
outputModelsTextFunction · 0.65
outputSessionsTextFunction · 0.65
emitRuntimeErrorFunction · 0.65

Implementers 3

CompactTransportsrc/utils/logging/CompactTransport.ts
SSEStreamapps/web-evals/src/lib/server/sse-stre
MockTransportsrc/utils/logging/__tests__/MockTransp

Calls

no outgoing calls

Tested by

no test coverage detected