log

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger() *zerolog.Logger

func TailCleanup

func TailCleanup(t *tail.Tail)

func TailStart

func TailStart() (*tail.Tail, error)

func TailStop

func TailStop(t *tail.Tail) error

Types

type Tail

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

func NewTail

func NewTail(path string, cfg *tail.Config) *Tail

func (*Tail) Reset

func (t *Tail) Reset()

func (*Tail) SetLocation

func (t *Tail) SetLocation(offset int64)

Jump to

Keyboard shortcuts

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