logs

package
v0.349.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogsCmd

func LogsCmd(ch *cmdutil.Helper) *cobra.Command

LogsCmd queries logs for a PostgreSQL or Neki branch.

Types

type LogEntry

type LogEntry struct {
	Time             string `header:"time" json:"time" csv:"time"`
	Level            string `header:"level" json:"level" csv:"level"`
	Message          string `header:"message" json:"message" csv:"message"`
	Role             string `header:"role" json:"role,omitempty" csv:"role"`
	Shard            string `header:"shard" json:"shard,omitempty" csv:"shard"`
	Container        string `header:"container" json:"container" csv:"container"`
	AvailabilityZone string `header:"availability zone" json:"availability_zone" csv:"availability_zone"`
	Pod              string `header:"pod" json:"pod" csv:"pod"`
	StreamID         string `header:"stream id" json:"stream_id" csv:"stream_id"`
	RawMessage       string `header:"raw message" json:"raw_message" csv:"raw_message"`
}

LogEntry is a parsed branch log entry.

Jump to

Keyboard shortcuts

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