logs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogStreamer

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

func NewLogStreamer

func NewLogStreamer(logsDB *db.LogsDB, logConfig *t.LogEntry) *LogStreamer

func (*LogStreamer) Log

func (ls *LogStreamer) Log(entry t.LogEntry)

func (*LogStreamer) RedirectStd

func (ls *LogStreamer) RedirectStd(config *config.JotlConfig) error

func (*LogStreamer) Start

func (ls *LogStreamer) Start()

Start begins streaming logs

func (*LogStreamer) Stop

func (ls *LogStreamer) Stop()

Stop stops streaming logs

Jump to

Keyboard shortcuts

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