Documentation
¶
Index ¶
- Variables
- func Debug(msg interface{}, keyvals ...interface{})
- func Debugf(format string, args ...interface{})
- func Dump(something any)
- func Error(msg interface{}, keyvals ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(msg interface{}, keyvals ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(msg interface{}, keyvals ...interface{})
- func Infof(format string, args ...interface{})
- func NewProgressBar(total int64, description string, silent bool) *progressbar.ProgressBar
- func Print(msg interface{}, keyvals ...interface{})
- func Printf(format string, args ...interface{})
- func Warn(msg interface{}, keyvals ...interface{})
- func Warnf(format string, args ...interface{})
- type ScalibrAdapter
- func (s *ScalibrAdapter) Debug(args ...any)
- func (s *ScalibrAdapter) Debugf(format string, args ...any)
- func (s *ScalibrAdapter) Error(args ...any)
- func (s *ScalibrAdapter) Errorf(format string, args ...any)
- func (s *ScalibrAdapter) Info(args ...any)
- func (s *ScalibrAdapter) Infof(format string, args ...any)
- func (s *ScalibrAdapter) Warn(args ...any)
- func (s *ScalibrAdapter) Warnf(format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugLevel = log.DebugLevel
View Source
var FatalErrorTombstone = "fatal error"
View Source
var Logger *log.Logger
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a debug message with formatting.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs an error message with formatting.
func Fatal ¶
func Fatal(msg interface{}, keyvals ...interface{})
Fatal logs a fatal message and exit.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs a fatal message with formatting and exit.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs an info message with formatting.
func NewProgressBar ¶
func NewProgressBar(total int64, description string, silent bool) *progressbar.ProgressBar
func Print ¶
func Print(msg interface{}, keyvals ...interface{})
Print logs a message with no level.
Types ¶
type ScalibrAdapter ¶
type ScalibrAdapter struct {
// contains filtered or unexported fields
}
func (*ScalibrAdapter) Debug ¶
func (s *ScalibrAdapter) Debug(args ...any)
func (*ScalibrAdapter) Debugf ¶
func (s *ScalibrAdapter) Debugf(format string, args ...any)
func (*ScalibrAdapter) Error ¶
func (s *ScalibrAdapter) Error(args ...any)
func (*ScalibrAdapter) Errorf ¶
func (s *ScalibrAdapter) Errorf(format string, args ...any)
func (*ScalibrAdapter) Info ¶
func (s *ScalibrAdapter) Info(args ...any)
func (*ScalibrAdapter) Infof ¶
func (s *ScalibrAdapter) Infof(format string, args ...any)
func (*ScalibrAdapter) Warn ¶
func (s *ScalibrAdapter) Warn(args ...any)
func (*ScalibrAdapter) Warnf ¶
func (s *ScalibrAdapter) Warnf(format string, args ...any)
Click to show internal directories.
Click to hide internal directories.