Documentation ¶
Index ¶
- Constants
- func DumpTo(out io.Writer, notSystem bool) error
- func InitGlobalLogger(tag string) error
- type FollowLine
- type Ringlogger
- func (rl *Ringlogger) Close() error
- func (rl *Ringlogger) ExportInheritableMappingHandle() (handleToClose windows.Handle, err error)
- func (rl *Ringlogger) FollowFromCursor(cursor uint32) (followLines []FollowLine, nextCursor uint32)
- func (rl *Ringlogger) Write(p []byte) (n int, err error)
- func (rl *Ringlogger) WriteTo(out io.Writer) (n int64, err error)
Constants ¶
View Source
const CursorAll = ^uint32(0)
Variables ¶
This section is empty.
Functions ¶
func InitGlobalLogger ¶
Types ¶
type FollowLine ¶
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) ExportInheritableMappingHandle ¶ added in v0.3.5
func (rl *Ringlogger) ExportInheritableMappingHandle() (handleToClose windows.Handle, err error)
func (*Ringlogger) FollowFromCursor ¶
func (rl *Ringlogger) FollowFromCursor(cursor uint32) (followLines []FollowLine, nextCursor uint32)
Click to show internal directories.
Click to hide internal directories.