MCPcopy Create free account
hub / github.com/coder/envbuilder / fakeLogDest

Struct fakeLogDest

log/coder_internal_test.go:330–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330type fakeLogDest struct {
331 t testing.TB
332 logs []*proto.Log
333}
334
335func (d *fakeLogDest) BatchCreateLogs(ctx context.Context, request *proto.BatchCreateLogsRequest) (*proto.BatchCreateLogsResponse, error) {
336 d.t.Logf("got %d logs, ", len(request.Logs))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected