Top 1.5% dependent packages on proxy.golang.org
Top 1.9% dependent repos on proxy.golang.org
proxy.golang.org : github.com/cdr/grip
Package grip provides a flexible logging package for basic Go programs. Drawing inspiration from Go and Python's standard library logging, as well as systemd's journal service, and other logging systems, Grip provides a number of very powerful logging abstractions in one high-level package. The central type of the grip package is the Journaler type, instances of which provide distinct log capturing system. For ease, following from the Go standard library, the grip package provides parallel public methods that use an internal "standard" Jouernaler instance in the grip package, which has some defaults configured and may be sufficient for many use cases. The send.Sender interface provides a way of changing the logging backend, and the send package provides a number of alternate implementations of logging systems, including: systemd's journal, logging to standard output, logging to a file, and generic syslog support. The message.Composer interface is the representation of all messages. They are implemented to provide a raw structured form as well as a string representation for more conentional logging output. Furthermore they are intended to be easy to produce, and defer more expensive processing until they're being logged, to prevent expensive operations producing messages that are below threshold. Loging helpers exist for the following levels: These methods accept both strings (message content,) or types that implement the message.MessageComposer interface. Composer types make it possible to delay generating a message unless the logger is over the logging threshold. Use this to avoid expensive serialization operations for suppressed logging operations. All levels also have additional methods with `ln` and `f` appended to the end of the method name which allow Println() and Printf() style functionality. You must pass printf/println-style arguments to these methods. The Conditional logging methods take two arguments, a Boolean, and a message argument. Messages can be strings, objects that implement the MessageComposer interface, or errors. If condition boolean is true, the threshold level is met, and the message to log is not an empty string, then it logs the resolved message. Use conditional logging methods to potentially suppress log messages based on situations orthogonal to log level, with "log sometimes" or "log rarely" semantics. Combine with MessageComposers to to avoid expensive message building operations. The MutiCatcher type makes it possible to collect from a group of operations and then aggregate them as a single error.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/cdr/grip
License: Apache-2.0
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/cdr
Dependent packages: 12
Dependent repositories: 7
Last synced: 5 days ago
github.com/cdr/amboy v0.0.0-20210216153014-b4d1232640b9
Package amboy provides basic infrastructure for running and describing tasks and task workflows w...1 version - Latest release: almost 5 years ago - 4 dependent packages - 4 dependent repositories
github.com/cdr/gimlet v0.0.0-20210107232214-39de395e83fc
Package gimlet is a toolkit for building JSON/HTTP interfaces (e.g. REST). Gimlet builds on stan...1 version - Latest release: almost 5 years ago - 3 dependent packages - 5 dependent repositories
github.com/deciduosity/poplar v0.0.0-20201204182938-56cf5a617e43
Package poplar provides a set of tools for running and managing results for benchmarks in go. Th...1 version - Latest release: almost 5 years ago - 1 dependent package - 2 dependent repositories - 0 stars on GitHub
github.com/deciduosity/pail v0.0.0-20201204180329-85d09813332c
common blob storage (e.g. s3 buckets and similar) interface and tools1 version - Latest release: almost 5 years ago - 1 dependent package - 3 dependent repositories - 0 stars on GitHub
github.com/deciduosity/aviation v0.0.0-20201202171758-29e664c3dd69
Package avaiation is a collection of tools to support grpc middleware1 version - Latest release: almost 5 years ago - 1 dependent package - 3 dependent repositories - 0 stars on GitHub
github.com/deciduosity/certdepot v0.0.0-20201201185614-6d15469d4600
tools for managing a certificate authority in a distributed environment.1 version - Latest release: almost 5 years ago - 2 dependent repositories - 4 stars on GitHub
github.com/deciduosity/anser v0.0.0-20201201185521-1b76716dc4f2
Package anser provides a document transformation and processing tool to support data migrations. ...1 version - Latest release: almost 5 years ago - 1 dependent package - 2 dependent repositories - 0 stars on GitHub
github.com/deciduosity/mrpc v0.0.0-20201201181634-42c93e683651
mrpc provides an implementation of the server-side of the MongoDB wire protocol for producing arb...1 version - Latest release: almost 5 years ago - 2 dependent repositories - 0 stars on GitHub
github.com/deciduosity/bond v0.0.0-20201130220159-baa34e00caaa
MongoDB Versions The MongoDBVersion type provides support for interacting with MongoDB versions....1 version - Latest release: almost 5 years ago - 2 dependent repositories - 0 stars on GitHub
github.com/cdr/gripslog v0.0.0-20201130214910-613f9998c394
Package gripslog provides an interface shim between the "grip" logging package and the "slog" pac...1 version - Latest release: almost 5 years ago
Check this option to include packages that no longer depend on this package in their latest version but previously did.