Skip to content

Commit

Permalink
CHORE: Updated the README
Browse files Browse the repository at this point in the history
  • Loading branch information
rudionrails committed Apr 14, 2012
1 parent 34894d3 commit 689f471
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -34,8 +34,8 @@ logger.info "Hello World"
Or alternatively with the block syntax:

```ruby
logger = Yell.new do
adapter :syslog
logger = Yell.new do |l|
l.adapter :syslog
end

logger.info 'Hello World!'
Expand All @@ -44,8 +44,8 @@ logger.info 'Hello World!'
You can pass set `options` and the `facility`:

```ruby
logger = Yell.new do
adapter :syslog, :facility => :user, :options => [:pid, :cons]
logger = Yell.new do |l|
l.adapter :syslog, :facility => :user, :options => [:pid, :cons]
end

logger.info 'Hello World!'
Expand Down

0 comments on commit 689f471

Please sign in to comment.