Documentation
¶
Index ¶
- func GetLastNGeneralLogs(identifier string, count uint32, log *logger.Logger) ([]*client.GeneralLogs, error)
- func GetLastNGeneralLogsFromSystemd(serviceName string, count uint32) ([]*client.GeneralLogs, error)
- func GetLastNLogs(identifier string, serviceReq *client.RequestService, log *logger.Logger) ([]*client.Logs, error)
- type LogType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastNGeneralLogs ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.