Helper module to embed class name in Rails.logger messages. "include ClassLogger" will do the trick equally well for instance-level, class-level, and module-level code (even if it feels a bit odd to say "include" in a module-implemented singleton).