# Functions
GetLogger gets the binary logger.
GetMethodLogger returns the methodLogger for the given methodName.
NewBufferedSink creates a binary log sink with the given WriteCloser.
NewLoggerFromConfig builds a logger with the given LoggerConfig.
NewLoggerFromConfigString reads the string and build a logger.
SetLogger sets the binary logger.
# Variables
AddrToProto converts an address to a binary logging proto message.
AllLogger is a logger that logs all headers/messages for all RPCs.
TODO(blog): change this default (file in /tmp).
MdToMetadataProto converts metadata to a binary logging proto message.
# Structs
Cancel configs the binary log entry to be a Cancel entry.
ClientHalfClose configs the binary log entry to be a ClientHalfClose entry.
ClientHeader configs the binary log entry to be a ClientHeader entry.
ClientMessage configs the binary log entry to be a ClientMessage entry.
LoggerConfig contains the config for loggers to create method loggers.
MethodLoggerConfig contains the setting for logging behavior of a method logger.
ServerHeader configs the binary log entry to be a ServerHeader entry.
ServerMessage configs the binary log entry to be a ServerMessage entry.
ServerTrailer configs the binary log entry to be a ServerTrailer entry.
# Interfaces
LogEntryConfig represents the configuration for binary log entry.
Logger is the global binary logger.
MethodLogger is the sub-logger for each method.
Sink writes log entry into the binary log sink.