using the rails logger in an non-AR model

How do I make my non-AR model have visibility to the rails logger? I
assume there is an include I need to use, but not sure what it is. I'm
also trying to get my error mailer working for any errors in my non-AR
models. Any help would be appreciated!


just declare

      logger = ActiveRecord::Base.logger

and then you can use logger normally.