journal

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastNGeneralLogs

func GetLastNGeneralLogs(identifier string, count uint32, log *logger.Logger) ([]*client.GeneralLogs, error)

func GetLastNGeneralLogsFromSystemd

func GetLastNGeneralLogsFromSystemd(serviceName string, count uint32) ([]*client.GeneralLogs, error)

GetLastNGeneralLogsFromSystemd reads logs from standard systemd journal for FRR and other services

func GetLastNLogs

func GetLastNLogs(identifier string, serviceReq *client.RequestService, log *logger.Logger) ([]*client.Logs, error)

GetLastNLogs reads Envoy logs from file system instead of systemd journal

Types

type LogType

type LogType int

LogType represents the type of log entry

const (
	LogTypeUnknown LogType = iota
	LogTypeSystem
	LogTypeAccess
)

Jump to

Keyboard shortcuts

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