sumogrip

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

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

=========================================
``sumogrip`` -- Sumologic Logging Backend
=========================================

Overview
--------

This package provides an implementation of the `sender
<https://godoc.org/github.com/deciduosity/send#Sender>`_ interface from the
`grip <https://github.com/deciduosity/grip>`_ logging framework.

Development
-----------

Sumogrip is available under the terms of the Apache License.

While the sumogrip is largely feature complete, if you encounter problems, feel
free to open pull requests or create issues reporting any issues that you see.

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