Versions in this module Expand all Collapse all v0 v0.1.0 Jul 11, 2023 Changes in this version + var LiveMemUseUpdateInterval = Tunable(1 * time.Second) + func Fprintf(w io.Writer, key string, a ...any) (n int, err error) + func Humanized(x any) any + func IEC(x T, unit string) iec[T] + func Metric(x T, unit string) metric[T] + func NewLogger(out io.Writer, lvl dlog.LogLevel) dlog.Logger + func Sprintf(key string, a ...any) string + func Tunable(x T) T + type LiveMemUse struct + func (o *LiveMemUse) String() string + type LogLevelFlag struct + Level dlog.LogLevel + func (*LogLevelFlag) Type() string + func (lvl *LogLevelFlag) Set(str string) error + func (lvl *LogLevelFlag) String() string + type Portion struct + D T + N T + func (p Portion[T]) String() string + type Progress struct + func NewProgress(ctx context.Context, lvl dlog.LogLevel, interval time.Duration) *Progress[T] + func (p *Progress[T]) Done() + func (p *Progress[T]) Set(val T) + type Stats interface