Versions in this module Expand all Collapse all v0 v0.0.1 Jul 16, 2024 Changes in this version + const MaximumSyncErrors + func CreateDatedLogFile(directory, prefix string) (*os.File, error) + func CreateDatedLogFileCtx(ctx context.Context, directory, prefix string) (*os.File, error) + func CreateDatedLogFileFormatted(directory, prefix string, format string) (*os.File, error) + func CreateDatedLogFileFormattedCtx(ctx context.Context, directory, prefix string, format string) (*os.File, error) + func DisableSyncErrorAccounting() + func EnableSyncErrorAccounting() + func StartPeriodicSync(ctx context.Context, f *os.File, dur time.Duration) + type Log struct + func Global() *Log + func NewLogger(writers ...io.Writer) *Log + func NewLoggerNoColor(writers ...io.Writer) *Log + func NewQuietLogger(writers ...io.Writer) *Log + func (l *Log) AddWriter(w io.Writer) + func (l *Log) C() zwrap.ZWrapLogger + func (l *Log) WithGlobalPackageAccess() + func (l *Log) Z() *zerolog.Logger