sqlite

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteBackend

type SQLiteBackend struct {
	log.CommonBackend
	Tables SQLiteTables
	// contains filtered or unexported fields
}

func (*SQLiteBackend) Initialize

func (back *SQLiteBackend) Initialize(dbpath string) error

func (*SQLiteBackend) NotifyAboutSender

func (back *SQLiteBackend) NotifyAboutSender(sender string)

func (*SQLiteBackend) NotifyAboutSeverity

func (back *SQLiteBackend) NotifyAboutSeverity(severity *log.Severity)

func (*SQLiteBackend) Shutdown

func (back *SQLiteBackend) Shutdown()

func (*SQLiteBackend) Vacuum

func (back *SQLiteBackend) Vacuum()

It is recommended to vacuum on program termination

func (*SQLiteBackend) Write

func (back *SQLiteBackend) Write(entry *log.Entry) error

type SQLiteTables

type SQLiteTables struct {
	Severities string
	Senders    string
	Log        string
}

Jump to

Keyboard shortcuts

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