Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 395 Bytes
# encoding: utf-8
require_relative '../lib/yell'
puts <<-EOS
# You can add a logger to the global repository.
# create a logger named 'mylog' that logs to stdout :stdout, :name => 'mylog'
# Later in the code, you can get your logger back
Yell['mylog'].info "Hello World!"
puts "=== actuale example ===" :stdout, :name => 'mylog'
Yell['mylog'].info "Hello World!"