lgw_golog

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineWriter

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

func NewLineWriter

func NewLineWriter(writer func(line string) error) *LineWriter

func (*LineWriter) Flush

func (z *LineWriter) Flush() error

func (*LineWriter) Write

func (z *LineWriter) Write(p []byte) (n int, err error)

type LogWrapper

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

func NewLogWrapper

func NewLogWrapper(logger esl.Logger) *LogWrapper

func (*LogWrapper) Flush

func (z *LogWrapper) Flush() error

func (*LogWrapper) SetLogger

func (z *LogWrapper) SetLogger(logger esl.Logger)

func (*LogWrapper) Write

func (z *LogWrapper) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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