Documentation ¶
Index ¶
- type SQLiteBackend
- func (back *SQLiteBackend) Initialize(dbpath string) error
- func (back *SQLiteBackend) NotifyAboutSender(sender string)
- func (back *SQLiteBackend) NotifyAboutSeverity(severity *log.Severity)
- func (back *SQLiteBackend) Shutdown()
- func (back *SQLiteBackend) Vacuum()
- func (back *SQLiteBackend) Write(entry *log.Entry) error
- type SQLiteTables
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
type SQLiteTables ¶
Click to show internal directories.
Click to hide internal directories.