Project

db_logger

0.0
No commit activity in last 3 years
No release in over 3 years
Captures sophisticated messages throughout a rails app and stores them in a postgresql hstore field.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

DB Logger Build Status

Writes log messages to a database table.

Installation

add to your Gemfile and run the bundle command to install it.

gem "db_logger"

Requires PostgreSQL HSTORE and Rails 3.1 store.

Usage

Note: this section is under construction...

  1. Add a table to the database with the right columns.
  2. Instantiate a DbLogger
  3. Log using the appropriate level, such as log.debug( "My message" ).

Development

Questions or problems? Please post them on the issue tracker. You can contribut changes by forking the project and submitting a pull requrest. You can ensure the tests are passing by running bundle and rake.

This gem is created by Greg Silcox and is under the MIT License.