Documentation ¶ Index ¶ func FromContext(ctx context.Context) *zap.Logger func New(level zapcore.LevelEnabler, logFileName string, json bool) *zap.Logger func NewContext(ctx context.Context, logger *zap.Logger) context.Context type LoggerKey Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FromContext ¶ func FromContext(ctx context.Context) *zap.Logger func New ¶ added in v0.4.1 func New(level zapcore.LevelEnabler, logFileName string, json bool) *zap.Logger func NewContext ¶ func NewContext(ctx context.Context, logger *zap.Logger) context.Context Types ¶ type LoggerKey ¶ type LoggerKey struct{} Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.