#1 Zap
Package zap provides fast, structured, leveled logging.
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
Health score 40/100, confidence 70/100.
| Latest version | v0.2.6 |
| Imported by | 4 packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 6 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Log | Type | type Log struct{} |
| Log.AddWriter | Method | func (log *Log) AddWriter(writer io.Writer) |
| Log.Error | Method | func (log *Log) Error(format string, values ...interface{}) |
| Log.Info | Method | func (log *Log) Info(format string, values ...interface{}) |
| Log.Write | Method | func (log *Log) Write(b []byte) (n int, err error) |
| New | Function | func New() *Log |
| File | Function | func File(path string) *os.File |
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
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.