Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FormatJSON = Format("json") FormatLogfmt = Format("logfmt") )
View Source
var ErrFormatNotSupported = errors.New("format not supported")
Functions ¶
Types ¶
type Config ¶
type Config struct { Format Format Output string Lines int Bytes int Sleep time.Duration Delay time.Duration At time.Time Overwrite bool Forever bool }
func DefaultConfig ¶
func DefaultConfig() Config
type CustomerOrder ¶
func (CustomerOrder) Format ¶
func (co CustomerOrder) Format(f Format) string
type CustomerSatisfaction ¶
func (CustomerSatisfaction) Format ¶
func (cs CustomerSatisfaction) Format(f Format) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.