MCPcopy
hub / github.com/grpc/grpc-go / EmitGcpLoggingEntry

Method EmitGcpLoggingEntry

gcp/observability/exporting.go:53–53  ·  view source on GitHub ↗

EmitGrpcLogRecord writes a gRPC LogRecord to cache without blocking.

(entry gcplogging.Entry)

Source from the content-addressed store, hash-verified

51type loggingExporter interface {
52 // EmitGrpcLogRecord writes a gRPC LogRecord to cache without blocking.
53 EmitGcpLoggingEntry(entry gcplogging.Entry)
54 // Close flushes all pending data and closes the exporter.
55 Close() error
56}

Callers 1

LogMethod · 0.65

Implementers 2

cloudLoggingExportergcp/observability/exporting.go
fakeLoggingExportergcp/observability/logging_test.go

Calls

no outgoing calls

Tested by

no test coverage detected