sumogrip

package module
v0.0.0-...-ae36d4e Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeSumo

func MakeSumo() (send.Sender, error)

MakeSumo constructs a Sumo logging backend that reads the private URL endpoint from the GRIP_SUMO_ENDPOINT environment variable.

The instance is otherwise unconquered. Call SetName or inject it into a Journaler instance using SetSender before using.

The logger uses the JSON formatter by default.

func NewSumo

func NewSumo(name, endpoint string) (send.Sender, error)

NewSumo constructs a Sumo logging backend that sends messages to the private URL endpoint of an HTTP source.

The logger uses the JSON formatter by default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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