#1 slog-multi
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
Package zap provides fast, structured, leveled logging.
Health score 92/100, confidence 65/100.
| Latest version | Unknown |
| Imported by | 119.7K packages |
| Stars | 24.5K |
| Forks | 1.5K |
| Last activity | 1 months ago |
| Latest release | v1.28.0 (1 months ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| AtomicLevel | Type | type AtomicLevel struct{} |
| AtomicLevel.Enabled | Method | func (lvl AtomicLevel) Enabled(l zapcore.Level) bool |
| AtomicLevel.Level | Method | func (lvl AtomicLevel) Level() zapcore.Level |
| AtomicLevel.MarshalText | Method | func (lvl AtomicLevel) MarshalText() (text []byte, err error) |
| AtomicLevel.ServeHTTP | Method | func (lvl AtomicLevel) ServeHTTP(w http.ResponseWriter, r *http.Request) |
| AtomicLevel.SetLevel | Method | func (lvl AtomicLevel) SetLevel(l zapcore.Level) |
| AtomicLevel.String | Method | func (lvl AtomicLevel) String() string |
| AtomicLevel.UnmarshalText | Method | func (lvl *AtomicLevel) UnmarshalText(text []byte) error |
| NewAtomicLevel | Function | func NewAtomicLevel() AtomicLevel |
| NewAtomicLevelAt | Function | func NewAtomicLevelAt(l zapcore.Level) AtomicLevel |
| ParseAtomicLevel | Function | func ParseAtomicLevel(text string) (AtomicLevel, error) |
| Config | Type | type Config struct{ ... } |
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
Package zerolog provides a lightweight logging library dedicated to JSON logging.
Package logger defines the structured logging interface and a global default logger that components use when no explicit logger is configured.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
Fastest structured logging