Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.543 kb
# encoding: utf-8
require_relative '../lib/yell'
puts <<-EOS
# The default formatting string looks like: %d [%5L] %p : %m and is used when
# nothing else is defined.
logger = Yell.new STDOUT, :format => Yell::DefaultFormat
logger.info "Hello World!"
#=> "2012-02-29T09:30:00+01:00 [ INFO] 65784 : Hello World!"
# ^ ^ ^ ^
# ISO8601 Timestamp Level Pid Message
EOS
puts "=== actuale example ==="
logger = Yell.new STDOUT, :format => Yell::DefaultFormat
logger.info "Hello World!"
Jump to Line
Something went wrong with that request. Please try again.