misc

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RotatingLogHandler

type RotatingLogHandler struct {
	Entries []*log.Entry
	// contains filtered or unexported fields
}

RotatingLogHandler implementation.

func NewRotatingLogHandler

func NewRotatingLogHandler(maxEntries int) *RotatingLogHandler

NewRotatingLogHandler creates a new rotating log handler

func (*RotatingLogHandler) HandleLog

func (h *RotatingLogHandler) HandleLog(e *log.Entry) error

HandleLog implements log.Handler.

Jump to

Keyboard shortcuts

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