Documentation
¶
Index ¶
- Constants
- func Component(name string, fields ...zap.Field) *namedLogger
- func CreateCtx(ctx context.Context, logger *zap.Logger) context.Context
- func GetLog(ctx context.Context) *zap.Logger
- func L() *zap.Logger
- func New(c config.Config)
- func NewWithCfg(cfg *log_config.Config)
- func S() *zap.SugaredLogger
- type Logger
Constants ¶
View Source
const Name = "logging"
Variables ¶
This section is empty.
Functions ¶
func NewWithCfg ¶
func NewWithCfg(cfg *log_config.Config)
Types ¶
Click to show internal directories.
Click to hide internal directories.