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
Click to show internal directories.
Click to hide internal directories.