logging

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlerLogger added in v1.10.0

func NewHandlerLogger(handlerID, egressID string) *medialogutils.CmdLogger

Types

type CSVLogger

type CSVLogger[T any] struct {
	// contains filtered or unexported fields
}

CSVLogger is used for logging data in CSV format. It does not validate columns or data

func NewCSVLogger

func NewCSVLogger[T any](filename string) (*CSVLogger[T], error)

func (*CSVLogger[T]) Close

func (l *CSVLogger[T]) Close()

func (*CSVLogger[T]) Write

func (l *CSVLogger[T]) Write(value *T)

type S3Logger

type S3Logger struct {
	// contains filtered or unexported fields
}

S3Logger only logs aws messages on upload failure

func NewS3Logger

func NewS3Logger() *S3Logger

func (*S3Logger) Logf

func (l *S3Logger) Logf(classification logging.Classification, format string, v ...interface{})

func (*S3Logger) WriteLogs

func (l *S3Logger) WriteLogs()

type StreamStats

type StreamStats struct {
	Timestamp     string
	Keyframes     uint64
	OutBytesTotal uint64
	OutBytesAcked uint64
	InBytesTotal  uint64
	InBytesAcked  uint64
}

type TrackStats

type TrackStats struct {
	Timestamp       string
	PacketsReceived uint64
	PaddingReceived uint64
	LastReceived    string
	PacketsDropped  uint64
	PacketsPushed   uint64
	SamplesPushed   uint64
	LastPushed      string
	Drift           time.Duration
	MaxDrift        time.Duration
}

Jump to

Keyboard shortcuts

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