Sha256: 650c5b2f80c1b6e845ed4e0090dbcaea4c4bc5ea17c39f15c53b5a6b11a4389e
Contents?: true
Size: 919 Bytes
Versions: 10
Compression:
Stored size: 919 Bytes
Contents
# Lograge::Sql [![Gem Version](https://badge.fury.io/rb/lograge-sql.svg)](https://badge.fury.io/rb/lograge-sql) [<img src="https://travis-ci.org/iMacTia/lograge-sql.svg?branch=master" alt="version" />](https://travis-ci.org/iMacTia/lograge-sql) Lograge::Sql is an extension to the famous [Lograge](https://github.com/roidrage/lograge) gem, which adds SQL queries to the Lograge Event and disable default ActiveRecord logging. This is extremely useful if you're using Lograge together with the ELK stack. ## Installation Add this line to your application's Gemfile: ```ruby gem 'lograge-sql' ``` ## Usage In order to enable SQL logging in your application, you'll simply need to add this on top of your lograge initializer: ```ruby # config/initializers/lograge require 'lograge/sql/extension' ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/iMacTia/lograge-sql.
Version data entries
10 entries across 10 versions & 3 rubygems