Skip to content
Browse files

Update readme with global logger

  • Loading branch information...
1 parent deefcfa commit e73a68fee4200489aa5330522b981e24a4c81069 @Maxim-Filimonov Maxim-Filimonov committed May 31, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
3 README.md
@@ -117,6 +117,9 @@ you are good to go.
# Before you can use it, you will need to define a logger and
# provide it with the `:name` of your class.
Yell.new :stdout, :name => 'Foo'
+# As alternative you can register a global logger
+# which is gonna be used if no named logger for a class found
+Yell.new :stdout, :name => :global
class Foo
include Yell::Loggable

0 comments on commit e73a68f

Please sign in to comment.
Something went wrong with that request. Please try again.