github.com/go-gost/core/logger

logger

Package logger defines the structured logging interface and a global default logger that components use when no explicit logger is configured.

86

Decision Signals

Health score 86/100, confidence 95/100.

Excellent
Maintenance 90
Adoption 91
Security 92
Maturity 71
Developer DX 75
Confidence 95

Install

go get github.com/go-gost/core

Package Data

updated Jun 11, 2026
Latest versionv0.4.1
Imported by615 packages
Stars55
Forks56
Last activity10 days ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

29 symbols
SymbolKindSynopsis
LogFormat Type type LogFormat string
JSONFormat Constant const JSONFormat
TextFormat Constant const TextFormat
LogLevel Type type LogLevel string
DebugLevel Constant const DebugLevel
ErrorLevel Constant const ErrorLevel
FatalLevel Constant const FatalLevel
InfoLevel Constant const InfoLevel
TraceLevel Constant const TraceLevel
WarnLevel Constant const WarnLevel
Logger Type type Logger interface{ ... }
Default Function func Default() Logger

Similar Packages

Go Logging Libraries

#1 slog-multi

🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

Go Logging Libraries 626 stars 237 imported-by 100% confidence
95

#2 Zerolog

Package zerolog provides a lightweight logging library dedicated to JSON logging.

Go Logging Libraries 12.4K stars 30.5K imported-by 100% confidence
94

#3 Zap

Package zap provides fast, structured, leveled logging.

Go Logging Libraries 24.5K stars 119.7K imported-by 65% confidence
92

#4 Logrus

Package logrus is a structured logger for Go, completely API compatible with the standard library logger.

Go Logging Libraries 25.7K stars 0 imported-by 65% confidence
86

#5 phuslu/log

Fastest structured logging

Go Logging Libraries 859 stars 0 imported-by 45% confidence
78