logs

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: GPL-3.0 Imports: 10 Imported by: 7 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilLogger = errors.New("nil logger")

ErrNilLogger signals that a nil logger has been provided

View Source
var ErrNilMarshalizer = errors.New("nil marshalizer")

ErrNilMarshalizer signals that a nil marshalizer has been provided

View Source
var ErrNilWsConn = errors.New("nil web socket connection")

ErrNilWsConn signals that a nil web socket connection has been provided

View Source
var ErrWriterBusy = errors.New("writer is busy")

ErrWriterBusy signals that the data queue inside the writer is full

View Source
var ErrWriterClosed = errors.New("writer is closed")

ErrWriterClosed signals that the current writer is closed and no longer accepts writes

Functions

func NewLogSender

func NewLogSender(marshalizer marshal.Marshalizer, conn wsConn, log logger.Logger) (*logSender, error)

NewLogSender returns a new component that is able to communicate with the log viewer application. After the correct handshake it will send all logs that come through the logger subsystem

func NewLogWriter

func NewLogWriter() *logWriter

NewLogWriter creates a new chan-based

Types

This section is empty.

Jump to

Keyboard shortcuts

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