{"repo":"mattermost/logr","free":true,"listed":false,"github":"https://github.com/mattermost/logr","clone":"git clone https://github.com/mattermost/logr.git","description":"Fully asynchronous, structured, pluggable logging for Go.","language":"Go","stars":32,"topics":["logging","logging-client","golang","go"],"license":"MIT","category":"analytics","readme_excerpt":"A fully asynchronous, contextual logger for Go. logr Logr is inspired by Logrus and Zap but addresses a number of issues: 1. Logr is fully asynchronous, meaning that all formatting and writing is done in the background. Latency sensitive applications benefit from not waiting for logging to complete. 2. Logr provides custom filters which provide more flexibility than Trace, Debug, Info... levels. If you need to temporarily increase verbosity of logging while tracking down a problem you can avoid the fire-hose that typically comes from Debug or Trace by using custom filters. 3. Logr generates much less allocations than Logrus, and is close to Zap in allocations. Table of Contents - Installation - Quick Start - Concepts - Usage - Performance - Fields - Filters - Targets - Formatters - Configuration Options - License Installation Quick Start Concepts entity description ------ ----------- Logr Engine instance typically instantiated once; used to configure logging. Logger Provides contextual logging via fields; lightweight, can be created once and accessed globally, or created on demand. Target A destination for log items such as console, file, database or just about anything that can be written to. Each target has its own filter/level and formatter, and any number of targets can be added to a Logr. Targets for file, syslog and any io.Writer are built-in and it is easy to create your own. You can also use any Logrus hooks via a simple adapter. Filter Determines which logging calls ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mattermost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mattermost/logr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}