Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoreStack ¶
func NewCoreStack(enc zapcore.Encoder, ws zapcore.WriteSyncer, atomicLevel zap.AtomicLevel) zapcore.Core
func NewLogger ¶
func NewLogger(options ...LoggerOption) log.Logger
Types ¶
type AtomicLevelEditor ¶
type LoggerOption ¶
type LoggerOption func(*loggerOptions)
func WithLevelLoggerOption ¶
func WithLevelLoggerOption(level log.Level) LoggerOption
func WithWritersLoggerOption ¶
func WithWritersLoggerOption(writers ...io.Writer) LoggerOption
Source Files ¶
Click to show internal directories.
Click to hide internal directories.