Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogglyAdapter ¶
func NewLogglyAdapter(route *router.Route) (router.LogAdapter, error)
NewLogglyAdapter returns an Adapter with that uses a loggly token taken from the LOGGLY_TOKEN environment variable
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter satisfies the router.LogAdapter interface by providing Stream which passes all messages to loggly.
func (*Adapter) SendMessage ¶
SendMessage handles creating and sending a request to Loggly. Any errors that occur during that process are bubbled up to the caller
Click to show internal directories.
Click to hide internal directories.