Skip to content

Instantly share code, notes, and snippets.

@jordansissel
Created June 18, 2013 15:22
Show Gist options
  • Save jordansissel/5806284 to your computer and use it in GitHub Desktop.
Save jordansissel/5806284 to your computer and use it in GitHub Desktop.
% rake
Hello world {:level=>:info, :file=>"/home/jls/projects/experiments/Rakefile", :line=>"8", :method=>"block in <top (required)>"}
require "cabin"
logger = Cabin::Channel.get
logger.level = :debug
logger.subscribe(STDOUT)
task :default do
logger.info("Hello world")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment