()
| 73 | } |
| 74 | |
| 75 | func 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. |
nothing calls this directly
no test coverage detected