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

Version Path
lograge-sql-0.2.0 README.md
lograge-sql-0.1.5 README.md
tagged-lograge-sql-0.1.8 README.md
tagged-lograge-sql-0.1.7 README.md
lograge-sql-one-line-0.1.7 README.md
lograge-sql-one-line-0.1.6 README.md
lograge-sql-one-line-0.1.5 README.md
lograge-sql-one-line-0.1.4 README.md
lograge-sql-0.1.4 README.md
lograge-sql-0.1.3 README.md