Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

hoblin/color-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discontinued a long time ago

Please use awesome_print instead

Instalation

Include gem 'color-logger' to youre Gemfile and run bundle.

Usage

Open Ruby console (irb) and try following:

require 'rubygems'
require 'color-logger'
{:foo => 'bar'}.cputs :baz
[1,'a',Time.now].cputs
Hash.new.clog
[{:hash => :test}].clog 'tag example'

Also .cputs = .cdump and .clog = .cdebug but for Rails default logger

If you like Cucumber, try run rails console under youre project dir and execute something like this

User.first.to_table

Releases

No releases published

Packages

No packages published

Languages