Skip to content

kleine2/custom_logs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomLogs

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'custom_logs', '0.0.4'

And then execute:

$ bundle

Generate config file:

$ rails g custom_logs or rails g custom_logs syslog

Usage

You can log your users data with this command:

$ bundle exec rake custom_logs:dump_users #for User class

or

$ bundle exec rake custom_logs:dump_users dump_class=Admin #for your custom class

TODO: Write usage instructions here

Contributing

  1. Fork it ( http://github.com//custom_logs/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Custom rails logs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published