Documentation ¶
Index ¶
- Constants
- func FormatSyslog(l Log) string
- func RandomDrainToken() string
- func RandomFrameId() string
- func RandomIPv4() string
- func UUID4() string
- type DefaultLog
- type HerokuLog
- type LPXGenerator
- type Log
- type ProbLog
- func (p *ProbLog) Add(l Log, prob float32)
- func (p *ProbLog) Hostname() string
- func (p *ProbLog) Msg() string
- func (p *ProbLog) Msgid() string
- func (p *ProbLog) Name() string
- func (p *ProbLog) PrivalVersion() string
- func (p *ProbLog) Procid() string
- func (p *ProbLog) String() string
- func (p *ProbLog) Time() string
Constants ¶
View Source
const (
TimeFormat = "2006-01-02T15:04:05.000000+00:00"
)
Variables ¶
This section is empty.
Functions ¶
func FormatSyslog ¶
func RandomDrainToken ¶
func RandomDrainToken() string
func RandomFrameId ¶
func RandomFrameId() string
func RandomIPv4 ¶
func RandomIPv4() string
Types ¶
type DefaultLog ¶
type DefaultLog struct{}
func (DefaultLog) Hostname ¶
func (d DefaultLog) Hostname() string
func (DefaultLog) Msg ¶
func (d DefaultLog) Msg() string
func (DefaultLog) Msgid ¶
func (d DefaultLog) Msgid() string
func (DefaultLog) Name ¶
func (d DefaultLog) Name() string
func (DefaultLog) PrivalVersion ¶
func (d DefaultLog) PrivalVersion() string
func (DefaultLog) Procid ¶
func (d DefaultLog) Procid() string
func (DefaultLog) String ¶
func (d DefaultLog) String() string
func (DefaultLog) Time ¶
func (d DefaultLog) Time() string
type LPXGenerator ¶
func NewGenerator ¶
func NewGenerator(minBatch, maxBatch int, loggen Log) *LPXGenerator
type ProbLog ¶
type ProbLog struct {
// contains filtered or unexported fields
}
func NewProbLog ¶
func (*ProbLog) PrivalVersion ¶
Click to show internal directories.
Click to hide internal directories.