ringlogger

package
v0.0.0-...-ea9ab63 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CursorAll = ^uint32(0)

Variables

This section is empty.

Functions

func DumpTo

func DumpTo(out io.Writer, notSystem bool) error

func InitGlobalLogger

func InitGlobalLogger(tag string) error

Types

type FollowLine

type FollowLine struct {
	Line  string
	Stamp time.Time
}

type Ringlogger

type Ringlogger struct {
	// contains filtered or unexported fields
}
var Global *Ringlogger

func NewRinglogger

func NewRinglogger(filename string, tag string) (*Ringlogger, error)

func NewRingloggerFromInheritedMappingHandle

func NewRingloggerFromInheritedMappingHandle(handleStr string, tag string) (*Ringlogger, error)

func (*Ringlogger) Close

func (rl *Ringlogger) Close() error

func (*Ringlogger) ExportInheritableMappingHandleStr

func (rl *Ringlogger) ExportInheritableMappingHandleStr() (str string, handleToClose windows.Handle, err error)

func (*Ringlogger) FollowFromCursor

func (rl *Ringlogger) FollowFromCursor(cursor uint32) (followLines []FollowLine, nextCursor uint32)

func (*Ringlogger) Write

func (rl *Ringlogger) Write(p []byte) (n int, err error)

func (*Ringlogger) WriteTo

func (rl *Ringlogger) WriteTo(out io.Writer) (n int64, err error)

Jump to

Keyboard shortcuts

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