std

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISdSender

type ISdSender interface {
	Add(lineLog *logsink.LineLog)
}

type ProxyStream

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

func NewProxyStream

func NewProxyStream(category string, origin *os.File, sender ISdSender) *ProxyStream

func (*ProxyStream) AddTxTag

func (this *ProxyStream) AddTxTag(lineLog *logsink.LineLog)

func (*ProxyStream) GetWriter

func (this *ProxyStream) GetWriter() *os.File

func (*ProxyStream) IOCopy

func (this *ProxyStream) IOCopy()

func (*ProxyStream) LogFlush

func (this *ProxyStream) LogFlush() *logsink.LineLog

func (*ProxyStream) SetEnabled

func (this *ProxyStream) SetEnabled(b bool)

func (*ProxyStream) Shutdown

func (this *ProxyStream) Shutdown()

func (*ProxyStream) Write

func (this *ProxyStream) Write(data []byte) (n int, err error)

type StdErrSenderThread

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

func GetInstanceStdErr

func GetInstanceStdErr() *StdErrSenderThread

func (*StdErrSenderThread) Add

func (this *StdErrSenderThread) Add(lineLog *logsink.LineLog)

func (*StdErrSenderThread) Flush

func (this *StdErrSenderThread) Flush()

func (*StdErrSenderThread) GetWriter added in v0.4.3

func (this *StdErrSenderThread) GetWriter() io.Writer

func (*StdErrSenderThread) Run

func (this *StdErrSenderThread) Run()

interface of lang conf observer

type StdOutSenderThread

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

func GetInstanceStdOut

func GetInstanceStdOut() *StdOutSenderThread

func (*StdOutSenderThread) Add

func (this *StdOutSenderThread) Add(lineLog *logsink.LineLog)

func (*StdOutSenderThread) Flush

func (this *StdOutSenderThread) Flush()

func (*StdOutSenderThread) GetWriter added in v0.4.3

func (this *StdOutSenderThread) GetWriter() io.Writer

func (*StdOutSenderThread) Run

func (this *StdOutSenderThread) Run()

interface of lang conf observer

Jump to

Keyboard shortcuts

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