Documentation ¶
Overview ¶
Package log provides the logging functionality for gpud.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLoggerConfig ¶
Types ¶
type LeptonLogger ¶
type LeptonLogger struct {
*zap.SugaredLogger
}
var (
Logger *LeptonLogger
)
func CreateLogger ¶
func CreateLogger(config *zap.Config) *LeptonLogger
func (*LeptonLogger) Errorw ¶
func (l *LeptonLogger) Errorw(msg string, keysAndValues ...interface{})
Override the default logger's Errorw func to down level context canceled error
func (*LeptonLogger) Printf ¶ added in v0.1.0
func (l *LeptonLogger) Printf(format string, v ...any)
Implements "tailscale.com/types/logger".Logf.
Click to show internal directories.
Click to hide internal directories.