-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I like a lot logging and also logging-rails due to that. However, I don't particularly like automagical inclusion of "logger" everywhere via ::Logging::Rails::Mixin done in https://github.com/TwP/logging-rails/blob/master/lib/logging/rails/railtie.rb.
While this is not problem with small project, with larger projects is starts to blur things a bit and creates hidden extra dependency.
So I would see beneficial to have option to turn off auto mixin, and have module, which would explicitly include "logger" method in the context.
For example,
class Foobar
include Logging::Log
endMetadata
Metadata
Assignees
Labels
No labels