title: Share global logger among module/classes
body: <p>What is the best (proper) way to share a logger instance amongst many ruby classes?</p>
  
  <p>Right now I just created the logger as a global $logger = Logger.new variable, but I have a feeling that there is a better way to do this without using a global var.</p>
  
  <p>If I have the following:</p>
  
  <pre><code>module Foo
    class A
    class B
    class C
    ...
    class Z
  end
  </code></pre>
  
  <p>what is the best way to share a logger instances among all the classes?  Do I declare/create the logger in the Foo module somehow or is just using the global $logger fine?</p>