Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

stvp/le

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

le

le is a Go package that provides a basic goroutine-safe io.Writer interface for sending logs to Logentries using basic Token TCP auth (no TLS).

Documentation

API docs on godoc.org

Basic usage

package main

import (
  "fmt"
  "github.com/stvp/le"
)

const (
  LOG_TOKEN = "47329628-ab93-4418-8265-9acdb0333248"
)

func main() {
  logger := le.New(LOG_TOKEN)

  fmt.Fprintf(logger, "%d percent effort", 110)
}

About

Basic Logentries client for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages