lib/sso/logging.rb in doorkeeper_sso-0.1.0.pre.alpha vs lib/sso/logging.rb in doorkeeper_sso-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
# This mixin will include the current class name as Logger `progname` so you can show that it in your logfiles.
#
module Logging
extend ActiveSupport::Concern
- class_methods do
+ module ClassMethods
def debug(&block)
logger && logger.debug(progname, &block)
end
def info(&block)