Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.47 kB
# encoding: utf-8
require_relative '../lib/yell'
puts <<-EOS
# The basic formating string looks like: %l, %d: %m.
logger = Yell.new STDOUT, :format => Yell::BasicFormat
logger.info "Hello World!"
#=> "I, 2012-02-29T09:30:00+01:00 : Hello World!"
# ^ ^ ^
# ^ ISO8601 Timestamp Message
# Level (short)
EOS
puts "=== actuale example ==="
logger = Yell.new STDOUT, :format => Yell::BasicFormat
logger.info "Hello World!"
Jump to Line
Something went wrong with that request. Please try again.