Arproxy::Plugin::MysqlCasualLog

Plug-in that colorize MySQL bad query for Arproxy. It is porting of MySQLCasualLog.pm.

see http://kamipo.github.io/talks/20140711-mysqlcasual6

Gem Version Build Status

Installation

Add this line to your application's Gemfile:

gem 'arproxy-plugin-mysql_casual_log'

And then execute:

$ bundle

Or install it yourself as:

$ gem install arproxy-plugin-mysql_casual_log

Usage

Arproxy.configure do |config|
   config.adapter = "mysql2"
  config.plugin :mysql_casual_log
end