Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log represents logger plugin for grpc server.
func NewLogWithConfigPath ¶
NewLogWithConfigPath returns a new logger plugin with options from config path.
func NewLogWithOptions ¶
NewLogWithOptions returns a new logger plugin with options.
type Options ¶
Options logger plugin for grpc server options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.