Documentation
¶
Overview ¶
Package logger provides functionality for Vald.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶ added in v1.0.0
type Logger interface {
// Debug logs the vals at Debug level.
Debug(vals ...any)
// Debugf logs the formatted message at Debug level.
Debugf(format string, vals ...any)
// Debugd logs the message with details at Debug level.
Debugd(msg string, details ...any)
// Info logs the vals at Info level.
Info(vals ...any)
// Infof logs the formatted message at Info level.
Infof(format string, vals ...any)
// Infod logs the message with details at Info level.
Infod(msg string, details ...any)
// Warn logs the vals at Warn level.
Warn(vals ...any)
// Warnf logs the formatted message at Warn level.
Warnf(format string, vals ...any)
// Warnd logs the message with details at Warn level.
Warnd(msg string, details ...any)
// Error logs the vals at Error level.
Error(vals ...any)
// Errorf logs the formatted message at Error level.
Errorf(format string, vals ...any)
// Errord logs the message with details at Error level.
Errord(msg string, details ...any)
// Fatal logs the vals at Fatal level, then calls os.Exit(1).
Fatal(vals ...any)
// Fatalf logs the formatted message at Fatal level, then calls os.Exit(1).
Fatalf(format string, vals ...any)
// Fatald logs the message with details at Fatal level, then calls os.Exit(1).
Fatald(msg string, details ...any)
// Close calls finalizer of logger implementations.
Close() error
}
Click to show internal directories.
Click to hide internal directories.