Documentation
¶
Index ¶
- type Option
- type Options
- type ZapLogger
- func (l *ZapLogger) Close() error
- func (l *ZapLogger) Debug(ctx context.Context, msg string, fields ...logger.Field)
- func (l *ZapLogger) Error(ctx context.Context, msg string, fields ...logger.Field)
- func (l *ZapLogger) Fatal(ctx context.Context, msg string, fields ...logger.Field)
- func (l *ZapLogger) GetLevel() zapcore.Level
- func (l *ZapLogger) Info(ctx context.Context, msg string, fields ...logger.Field)
- func (l *ZapLogger) Warn(ctx context.Context, msg string, fields ...logger.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(l *Options)
func WithCallerSkip ¶
func WithErrorWriter ¶
func WithInfoWriter ¶
func WithModule ¶
func WithServiceName ¶
Click to show internal directories.
Click to hide internal directories.