logger

package
v0.0.0-...-79a645e Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

Logger ..

func NewLogger

func NewLogger(bufferCapacity int64) *Logger

NewLogger ..

func (*Logger) Close

func (l *Logger) Close() error

Close ..

func (*Logger) Subscribe

func (l *Logger) Subscribe() *Subscription

Subscribe ..

func (*Logger) Write

func (l *Logger) Write(p []byte) (n int, err error)

Write ..

type Subscription

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

Subscription ..

func (*Subscription) Close

func (s *Subscription) Close() error

Close ..

func (*Subscription) Inbox

func (s *Subscription) Inbox() <-chan []byte

Inbox ..

Jump to

Keyboard shortcuts

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