{"repo":"hschne/mr-loga-loga","free":true,"listed":false,"github":"https://github.com/hschne/mr-loga-loga","clone":"git clone https://github.com/hschne/mr-loga-loga.git","description":"The bombastic, fantastic logger for Ruby 💎","language":"Ruby","stars":24,"topics":["ruby","logging","rails","ruby-on-rails"],"license":"MIT","category":"analytics","readme_excerpt":"Mr. Loga Loga The simply bombastic, fantastic logger for Ruby 💎 What's this? MrLogaLoga is a logger for Ruby that allows you to easily attach contextual information to your log messages. When writing logs, messages only tell half the story. MrLogaLoga allows you to make the most of your logs. You can find out more about the motivation behind the project here. For usage read Usage or Advanced Usage. Note : This gem is in early development. Try it out and leave some feedback, it really goes a long way in helping me out with development. Any feature request or bug report is welcome. If you like this project, leave a star to show your support! ⭐ Getting Started Add this line to your application's Gemfile: And then execute: Usage MrLogaLoga provides the same interface as the Ruby default logger you are used to. In addition, however, you can attach contextual information to your log messages. To customize how log messages are formatted see [Formatters][#formatters]. Advanced Usage MrLogaLoga provides a fluent interface to build log messages. For example, to attach an additional user field to a log message you can use any of the following: The block syntax is recommended when logging calculated properties . You can find more in-depth information about specific method in the Code Documentation. Shared Context If multiple log messages within the same class should share a context include the MrLogaLoga module. Using logger will result in the defined context being included per default:","default_branch":null,"files":null,"tree":[],"storefront":"/r/hschne","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hschne/mr-loga-loga/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."}