Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Debug enables debug logs. Debug bool // UseJSON configures logger to use json instead of plain text. UseJSON bool }
Config holds configuration options passed to the logger.
type Logger ¶
func (Logger) NewStreamInterceptor ¶
func (l Logger) NewStreamInterceptor() grpc.StreamServerInterceptor
func (Logger) NewUnaryInterceptor ¶
func (l Logger) NewUnaryInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.