{"repo":"bdlm/log","free":true,"listed":false,"github":"https://github.com/bdlm/log","clone":"git clone https://github.com/bdlm/log.git","description":"Structured logging for Go","language":"Go","stars":13,"topics":["go","golang","logging","logger","structured-logging"],"license":"MIT","category":"analytics","readme_excerpt":"log CHANGELOG - This project adheres to Semantic Versioning. You should expect API stability in Minor and Patch version releases Code has proven satisfactory and is in wide production use, cleanup of the underlying code may cause some minor changes. Backwards-compatibility is guaranteed. bdlm/log is a fork of the excellent sirupsen/logrus package. This package adds: support for sanitizing strings from log output to aid in preventing leaking sensitive data. additional default fields host and caller . verbose output including the full backtrace of logger calls. support for suppressing any default field. TTY formatting and coloring of JSON output. updated formatting for TTY text output. updated default TTY color scheme and color customization. gRPC request interceptors. bdlm/log is a structured logger for Go and is fully API compatible with both the standard libaray log package as well as the sirupsen/logrus package. Install Examples User documentation Simple usage The simplest way to use bdlm/log is with the exported package-level logger: Compatibility Note that bdlm/log is fully api-compatible with the stdlib logger, so you can replace your log imports everywhere or using a strangler pattern with \"github.com/bdlm/log\" and add the full logging flexibility to your service without impacting existing code. The default log format of this package does not match the stdlib logger's default output so a compatible formatter, StdFormatter , is provided which includes the additional info","default_branch":null,"files":null,"tree":[],"storefront":"/r/bdlm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bdlm/log/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."}