# Functions
LevelFilter returns a LevelFilter that is configured with the log levels that we use.
NewGRPCLogger creates a grpclog.LoggerV2 that will output to the supplied logger with Severity/Verbosity level appropriate for the given config.
NewLogWriter creates a LogWriter with the given buffer capacity.
Setup is used to perform setup of several logging objects:
* A LevelFilter is used to perform filtering by log level.
ValidateLevelFilter verifies that the log levels within the filter are valid.
# Structs
Config is used to set up logging.
GatedWriter is an io.Writer implementation that buffers all of its data into an internal buffer until it is told to let data through.
GRPCLogger wrapps a *log.Logger and implements the grpclog.LoggerV2 interface allowing gRPC servers to log to the standard Consul logger.
LogFile is used to setup a file based logger that also performs log rotation.
LogWriter implements io.Writer so it can be used as a log sink.
SyslogWrapper is used to cleanup log messages before writing them to a Syslogger.
# Interfaces
LogHandler interface is used for clients that want to subscribe to logs, for example to stream them over an IPC mechanism.