Documentation ¶
Index ¶
- func CommitRecord(fields []*Field) string
- func EventRecord(namespace, evt string, fields map[string]string) *ingestion.EventRequest
- func LogError(err error, fields map[string]string)
- func LogMessage(_ string, fields map[string]string)
- func LogRecord(fields []*Field) string
- func SprintCommit(_ string, fields map[string]string) string
- func WriteToStdout(record string)
- type ByPosition
- type Field
- type Monitor
- func (m Monitor) Changed(evt string)
- func (m Monitor) Debug(dbg string)
- func (m Monitor) Error(err error)
- func (m Monitor) Info(msg string)
- func (m Monitor) IsVerbose() bool
- func (m Monitor) Verbose() Monitor
- func (m Monitor) WithField(key string, value interface{}) Monitor
- func (m Monitor) WithFields(add map[string]interface{}) Monitor
- type OnError
- type OnMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitRecord ¶
func EventRecord ¶
func EventRecord(namespace, evt string, fields map[string]string) *ingestion.EventRequest
func LogMessage ¶
func WriteToStdout ¶
func WriteToStdout(record string)
Types ¶
type ByPosition ¶
type ByPosition []*Field
func (ByPosition) Len ¶
func (a ByPosition) Len() int
func (ByPosition) Less ¶
func (a ByPosition) Less(i, j int) bool
func (ByPosition) Swap ¶
func (a ByPosition) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.