#1 Zap
Package zap provides fast, structured, leveled logging.
Health score 74/100, confidence 75/100.
| Latest version | v1.0.0 |
| Imported by | 3.2K packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 2 months ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| CallerFormatter | Type | type CallerFormatter func(string, int, string) string |
| Formatter | Type | type Formatter uint8 |
| JSONFormatter | Constant | const JSONFormatter |
| LogfmtFormatter | Constant | const LogfmtFormatter |
| TextFormatter | Constant | const TextFormatter |
| Level | Type | type Level int |
| DebugLevel | Constant | const DebugLevel |
| ErrorLevel | Constant | const ErrorLevel |
| FatalLevel | Constant | const FatalLevel |
| GetLevel | Function | func GetLevel() Level |
| InfoLevel | Constant | const InfoLevel |
| Level.String | Method | func (l Level) String() string |
Package zap provides fast, structured, leveled logging.
Fastest structured logging
Package zerolog provides a lightweight logging library dedicated to JSON logging.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
🔥 Error handling library with context, assertion, stack trace and source fragments