Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
log.CommonBackend
// contains filtered or unexported fields
}
Backend writes entries to PostgreSQL.
func New ¶
New constructs a Backend from the provided connection string.
func (*Backend) NotifyAboutSender ¶
NotifyAboutSender implements log.Backend but Postgres does not require pre-notification.
func (*Backend) NotifyAboutSeverity ¶
NotifyAboutSeverity implements log.Backend but Postgres does not require pre-notification.
Source Files
¶
- Backend.go
Click to show internal directories.
Click to hide internal directories.