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.

74

Decision Signals

Health score 74/100, confidence 75/100.

Strong
Maintenance 90
Adoption 47
Security 92
Maturity 55
Developer DX 83
Confidence 75

Install

go get github.com/go-gost/core

Package Data

updated Jun 10, 2026
Latest versionv0.4.1
Imported by615 packages
Stars0
Forks0
Last activity9 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 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

#2 Zap

Package zap provides fast, structured, leveled logging.

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

#3 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

#4 phuslu/log

Fastest structured logging

Go Logging Libraries 859 stars 0 imported-by 80% confidence
80

#5 log

Package log implements a simple structured logging API designed with few assumptions.

Go Logging Libraries 1.4K stars 4.7K imported-by 100% confidence
76