Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Fri, 23 Mar 2018 19:12:00 +0000 Zap: Fast, structured, leveled logging in Go #logging 13 points posted by daenney https://github.com/uber-go/zap 1540 Sun, 15 Jan 2017 00:44:00 +0000 Opinionated logging in go #logging 6 points posted by gopher https://thomshutt.github.io/opinionated-logging-in-go.html 2857 Fri, 27 Oct 2017 20:42:00 +0000 CoLog is a prefix-based leveled execution log for Go #logging 6 points posted by daenney https://github.com/comail/colog 1548 Mon, 16 Jan 2017 15:50:00 +0000 Code: go-logsink - Simple log aggregation #logging go-logsink is a client and server application to aggregate multiple streams into one. It does so by sending all data piped into the client to the server. 5 points posted by Sascha Andres https://github.com/sascha-andres/go-logsink 2143 Fri, 28 Apr 2017 15:37:00 +0000 Gooseberry: Common Packages for Microservices #rest #web #log #urn #polling Gooseberry is a collection of common Go packages that Voicera uses in microservices. It's an incomplete library, named after a fruit that looks like an ungrown clementine. We'd like to build gooseberry to be like Guava is for Java. ## Features * REST clients, web client with logging, basic auth support, etc. * Container structs like immutable maps, priority queues, sets, etc. * Error aggregation (multiple errors into one with a header message) * Leveled logger with a prefix and a wrapper for [zap](go.uber.org/zap) * Polling with an exponential backoff and a Bernoulli trials for resetting * Uniform Resource Name struct that implements [RFC8141](https://tools.ietf.org/html/rfc8141) ## Quick Start To get the latest version: `go get -u github.com/voicera/gooseberry` 3 points posted by Mohamed El-Geish https://github.com/voicera/gooseberry 3272 Mon, 02 Apr 2018 02:33:00 +0000 log - Structured log interface #logging Package <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(36, 41, 46);">log</code>&nbsp;provides a clear separation of the logging interface from its implementation and decouples the logger backend from your application. It defines simple, lightweight and comprehensive <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(36, 41, 46);">Logger</code>&nbsp;and <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(36, 41, 46);">Factory</code>&nbsp;interfaces which can be used through your applications without any knowledge of the particular backend and can be configured at the application wiring point to bind a particular backend, such as the Go's standard logger, <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(36, 41, 46);">apex/log</code>, <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(36, 41, 46);">logrus</code>, etc. 3 points posted by teris-io https://github.com/teris-io/log 2902 Mon, 06 Nov 2017 22:23:00 +0000 Apex log - structured & centralised logging for Go #logging By TJ Holowaychuk: If you know me you know I’ve written at least half a dozen logging packages, and although they arguably overdone, I still think logging a critical piece of infrastructure. Chances are if you’re a software engineer, you’ll be staring at logs for half of your life, so it’s worth taking the time to discover the “perfect” logging solution. 3 points posted by tomf https://medium.com/@tjholowaychuk/apex-log-e8d9627f4a9a 1538 Sun, 15 Jan 2017 00:06:00 +0000 gol-logsink v1.1.0 released #logging <h2>Additions</h2><div>Web directory included in binary</div><div>Prometheus metrics when running with web command</div> <h2>Deprecations</h2><div>Relay, use two instances instead</div> 2 points posted by Sascha Andres https://github.com/sascha-andres/go-logsink/releases/tag/v1.1.0 2271 Mon, 29 May 2017 07:40:00 +0000