Logging

Libraries for generating and working with log files.

Newest releases
154

JackBister Logsuck is a program that makes it easier for you to deal with your logs. It serves a similar purpose to Splunk or the ELK stack. You can use it to search your logs, correlate logs from different log files with each other and set
 
17.2k

sirupsen Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger.
 
24

apex Go log format parsers, generated by Ldetool producing performant & memory efficient parsers.
 
19

boreq Plum is a real-time web server access log analyser. It allows the user to access the statistics using a web dashboard.
 
341

go-logr A simple logging interface for Go
 
172

brimsec zq is a command-line tool for searching and analyzing logs, particularly Zeek logs. If you are familiar with zeek-cut, you can think of zq as zeek-cut on steroids.
 
646

amir20 Dozzle - dozzle.dev Dozzle is a real-time log viewer for Docker. It's free. It's small. And it's in your browser. While dozzle should work for most, it is not meant to be a full logging solution. For enterprise use,
 
22

ichtrojan An Error Logger for Go
 
Popular
12.3k

grafana Loki: like Prometheus, but for logs. Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It
 
813

google logger Logger is a simple cross platform Go logging library for Windows, Linux, and macOS, it can log to the Windows event log, Linux/macOS syslog, and an io.Writer. This is not an official Google product.
 
39

matthewmueller Easily send structured logs to Datadog over TCP. Features Implements io.Writer key := os.Getenv("DATADOG_API_KEY") dd, err := datadog.Dial(&datadog.Config{APIKey: key}) defer dd.Close() client.Write([]byt
 
60

ccpaging nxlog4go - Next logging package based on log4go Installation Run go get github.com/ccpaging/nxlog4go OR Run go install github.com/ccpaging/nxlog4go Features: Structured Fast
 
56

visionmedia go-debug Conditional debug logging for Go libraries. View the docs. Installation $ go get github.com/tj/go-debug Example package main import . "github.com/tj/go-debug" import "time" var deb
 
1.1k

sanity-io Litter Litter is a pretty printer library for Go data structures to aid in debugging and testing. Litter is provided by Sanity: The Headless CMS Construction Kit Litter named for the fact that it outputs lit
 

vlinx-io go-logging A lite go logging component Install go get -v github.com/vlinx-io/go-logging Usage import "github.com/vlinx-io/go-logging" logger := logging.New("info.log", "error.log") logger.Debug
 
1.2k

boz kail: kubernetes tail Kubernetes tail. Streams logs from all containers of all matched pods. Match pods by service, replicaset, deployment, and others. Adjusts to a changing cluster - pods are added and removed from lo
 
205

kataras ✒️ golog golog is a simple, fast and easy-to-use level-based logger written entirely in GoLang. 🥇 Features Focus on high performance and agile perspective of things Easy API and a
 
Popular
4.2k

gliderlabs logspout Docker Hub automated builds for gliderlabs/logspout:latest and progrium/logspout:latest are now pointing to the release branch. For master, use gliderlabs/logspout:master. Individual versions are also av
 
45

ianberdin Golang Pretty Logger (Warning! Not Maintened.) Custom go logger for pretty print, log, debug, warn, error with colours and levels. Install go get github.com/happierall/l Usage im
 
27

wacul ulog - Structured and context oriented logging interface for Go Package ulog provides a simple way to handle structured and context oriented logging and decouples package from specific log implementation.
 

szxp log A small structured logging library for Golang. Documentation is available at GoDoc. Releases Master branch is the stable production-ready branch. Features Only standard library depend
 
31

chrispenner LumberJack Download Binary What is it? A command-line interface log viewer Why did I build it I got really sick of trying to find the things I was looking for in a big blob of unstructured te
 
280

agnivade funnel A new approach to logging The 12 factor rule for logging says that an app "should not attempt to write to or manage logfiles. Instead, each running process writes its event stream, unbuffered, to s
 

tmc googlelog cli tool to publish entries to google cloud logging Example use Look up project ID via: $ gcloud projects list $ googlelog -h Usage of googlelog: -log string log name -projectID
 
12

tmc log import "github.com/tmc/log" Overview Index Overview Package log wraps logrus to include source line/function information inspired by prometheus/common/log Index func Debug(args ..
 
39

mkideal LOG log package inspired from golang/glog. We have following key features: lightweight - log package very lightweight, and so easy to use. highly customizable - You can customize Provider,Logger. fast - Wr
 
22

jbrodriguez A simple logging module for go, with a rotating file feature and console logging. Installation go get github.com/jbrodriguez/mlog Usage Sample usage Write to stdout/stderr and create a rotating logfile
 
2.4k

natefinch lumberjack Lumberjack is a Go package for writing logs to rolling files. Package lumberjack provides a rolling logger. Note that this is v2.0 of lumberjack, and should be imported using gopkg.in thusly:
 
346

mgutz logxi log XI is a structured 12-factor app logger built for speed and happy development. Simpler. Sane no-configuration defaults out of the box. Faster. See benchmarks vs logrus and log15. Structured. Key-valu
 
291

hashicorp logutils logutils is a Go package that augments the standard library "log" package to make logging a bit more modern, without fragmenting the Go ecosystem with new logging packages. The simplest thing that co
 
26

sebest Loggly Hooks for Logrus Usage package main import ( "github.com/sirupsen/logrus" "github.com/sebest/logrusly" ) var logglyToken string = "YOUR_LOGGLY_TOKEN" func main() { log := logrus.New() hook :=
 
17.3k

Sirupsen Logrus Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger. Logrus is in maintenance-mode. We will not be introducing new features. It's simply too hard to do in
 
147

azer logger Minimalistic logging library for Go. Blog Post Features: Advanced output filters (package and/or level) Attributes Timers for measuring performance Structured JSON output Programmatical Usage Hooks