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

Function init

internal/binarylog/binarylog.go:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func init() {
76 const envStr = "GRPC_BINARY_LOG_FILTER"
77 configStr := os.Getenv(envStr)
78 binLogger = NewLoggerFromConfigString(configStr)
79}
80
81// MethodLoggerConfig contains the setting for logging behavior of a method
82// logger. Currently, it contains the max length of header and message.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected