Documentation
¶
Index ¶
- func Debug(format string, args ...any)
- func Error(format string, args ...any)
- func Fatal(format string, args ...any)
- func GetLogger() *zap.Logger
- func Info(format string, args ...any)
- func NewZapLogger(opts ...Option) *zap.Logger
- func ParseLevel(level string) zapcore.Level
- func Setup(opts ...Option)
- func Warn(format string, args ...any)
- type Config
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewZapLogger ¶
func ParseLevel ¶
Types ¶
type Option ¶
type Option func(*Config)
func WithFilename ¶
func WithFormat ¶
func WithMaxAge ¶
func WithMaxBackups ¶
func WithMaxSize ¶
Click to show internal directories.
Click to hide internal directories.