diff options
| author | Ben Beltran <ben@freshout.us> | 2013-03-25 17:03:19 -0600 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2013-03-25 17:03:19 -0600 |
| commit | 03501041337c5234dc12e4a84ddf063142a7857e (patch) | |
| tree | c75211d11964b61c8ecfc58cdc086bc2d8a027da /README.rdoc | |
| parent | 7282c0b71708f192dce76b8a80bc02324e8c6fa3 (diff) | |
Just getting ready to jsonify stuff
Diffstat (limited to 'README.rdoc')
| -rw-r--r-- | README.rdoc | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/README.rdoc b/README.rdoc deleted file mode 100644 index 563e17e..0000000 --- a/README.rdoc +++ /dev/null @@ -1,51 +0,0 @@ -= cobalt - -Console for ruby is: Colored, Nesting, Multiple, Smart logging management. - -== Installation - - $ gem install cobalt - -== Usage -[http://github.com/ktlacaelel/cobalt/wiki/example.png] -Try it yourself! - - require 'rubygems' - require 'cobalt' - - stdout = Logger.new(STDOUT) # log to std out, and but dont prefix with anything! - stdout.formatter = proc { |severity, datetime, progname, msg| "#{msg}\n" } - - console = Cobalt::Console.new :loggers => [stdout] - - console.space - console.log 'Initializing Console sample..' - console.separator '-' - console.indent - console.notice 'notice' - console.warn 'warn' - console.error 'error' - console.outdent - - console.space - console.log 'Remember the color, for a few lines..' - console.separator '=' - console.color(:pink) do - console.log 'all this' - console.log 'will be' - console.log 'colored pink' - end - - console.space - - - -== Contributors - -* Fernando TrasviƱa -* Pablo Antonio Gonzalez Cervantes -* Kazuyoshi Tlacaelel - -== Copyright - -Copyright (c) 2012 kazuyoshi tlacaelel. See LICENSE for details. |