Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogRoot string
Exported so it can be set by an external agent-- namely main.go, which does some flag parsing.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { Write(string, string) error Read(string, int) ([]string, error) Destroy(string) error Reopen() error }
Adapter is an interface for pluggable components that store log messages.
func NewAdapter ¶
NewAdapter returns a pointer to an appropriate implementation of the Adapter interface, as determined by the storeageAdapterType string it is passed.
Click to show internal directories.
Click to hide internal directories.