Skip to content

A Lograge extension to include SQL queries in your requests log

Notifications You must be signed in to change notification settings

anti-work/tagged-lograge-sql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Add this line to your application's Gemfile:

gem 'tagged-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:

# config/initializers/lograge
require 'lograge/sql/extension'

About

A Lograge extension to include SQL queries in your requests log

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 96.3%
  • Shell 3.7%