file

package
v1.2.2-dev.27 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(filename string) *Logger

func (*Logger) Add

func (l *Logger) Add(le models.LogEntry) error

func (*Logger) CloseSession

func (l *Logger) CloseSession()

func (*Logger) Find

func (l *Logger) Find(criteria filter.Criteria) ([]models.LogEntry, error)

func (*Logger) Remove

func (l *Logger) Remove(criteria filter.Criteria) (int, error)

Jump to

Keyboard shortcuts

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