Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (14 sloc) 0.447 kb
bd4fd42 @rudionrails ST: Added example for colorizing and changed method calls a little
authored
1 # encoding: utf-8
2
3 require_relative '../lib/yell'
4
5 puts <<-EOS
6
7 You may colorize the log output on your io-based loggers loke so:
8
9 logger = Yell.new STDOUT, :colors => true
10
11 [:debug, :info, :warn, :error, :fatal, :unknown].each do |level|
12 logger.send level, level
13 end
14
15 EOS
16
17 puts "=== actuale example ==="
18 logger = Yell.new STDOUT, :colors => true
19
20 [:debug, :info, :warn, :error, :fatal, :unknown].each do |level|
21 logger.send level, level
22 end
23
Something went wrong with that request. Please try again.