mls

package
v0.0.0-...-194e68f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	TraceID            int64       `json:"traceID"`
	EventMessage       string      `json:"eventMessage"`
	EventType          string      `json:"eventType"`
	Source             interface{} `json:"source"`
	FormatString       string      `json:"formatString"`
	ActivityIdentifier int         `json:"activityIdentifier"`
	Subsystem          string      `json:"subsystem"`
	Category           string      `json:"category"`
	ThreadID           int         `json:"threadID"`
	SenderImageUUID    string      `json:"senderImageUUID"`
	Backtrace          struct {
		Frames []struct {
			ImageOffset int    `json:"imageOffset"`
			ImageUUID   string `json:"imageUUID"`
		} `json:"frames"`
	} `json:"backtrace"`
	BootUUID                 string `json:"bootUUID"`
	ProcessImagePath         string `json:"processImagePath"`
	Timestamp                string `json:"timestamp"`
	SenderImagePath          string `json:"senderImagePath"`
	MachTimestamp            int64  `json:"machTimestamp"`
	MessageType              string `json:"messageType"`
	ProcessImageUUID         string `json:"processImageUUID"`
	ProcessID                int    `json:"processID"`
	SenderProgramCounter     int    `json:"senderProgramCounter"`
	ParentActivityIdentifier int    `json:"parentActivityIdentifier"`
	TimezoneName             string `json:"timezoneName"`
}

type Logs

type Logs struct {
	Predicate string
	Channel   chan Log
	// contains filtered or unexported fields
}

func NewLogs

func NewLogs() *Logs

func (*Logs) StartGathering

func (logs *Logs) StartGathering() error

func (*Logs) StopGathering

func (logs *Logs) StopGathering()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL