Skip to content

toorop/go-ovh-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ovh-logs

Golang package for sending logs to the OVH logs PAAS

GoDoc

It's completely API compatible with the standard library logger.

It implements GELF format (TCP or UDP, compressed or not).

Example:

package main

import (
	ovhlogs "github.com/toorop/go-ovh-logs"
)

func main() {
	OVHLogger := ovhlogs.New("STREAM_TOKEN", ovhlogs.GelfUDP, ovhlogs.CompressNone, false)
	OVHLogger.Print("Hello World !")
}

See Examples folder for more... examples ;)

Support this project & open-source

If this project is useful for you, please consider making a donation.

Bitcoin

Address: 1JvMRNRxiTiN9H7LyZTq4yzR7ez86M7ND6

Bitcoin QR code

Ethereum

Address: 0xA84684B45969efbD54fd25A1e2eD8C7790A0C497

ETH QR code

Releases

No releases published

Packages

No packages published

Languages