Structured+contextual logging experiments in Ruby

Logging kind of sucks. I want: Context and Structured Data because logging with printf makes it hard to read later. Why write code that's easy to maintain but not write logs that are the same? Structured data means y

Related Repos


224

kvokka PpSql Replace standard ActiveRecord#to_sql method with anbt-sql-formatter gem for pretty SQL code output in console. Rails log will be formatted also. Example output: Or in console Require Ruby 2.4+