module DoorkeeperSsoClient::Logging
One thing tha bugs me is when I cannot see which part of the code caused a log message. This mixin will include the current class name as Logger ‘progname` so you can show that it in your logfiles.
Public Instance Methods
debug(&block)
click to toggle source
# File lib/doorkeeper_sso_client/logging.rb, line 40 def debug(&block) self.class.debug(&block) end
error(&block)
click to toggle source
# File lib/doorkeeper_sso_client/logging.rb, line 52 def error(&block) self.class.error(&block) end
fatal(&block)
click to toggle source
# File lib/doorkeeper_sso_client/logging.rb, line 56 def fatal(&block) self.class.fatal(&block) end
info(&block)
click to toggle source
# File lib/doorkeeper_sso_client/logging.rb, line 44 def info(&block) self.class.info(&block) end
warn(&block)
click to toggle source
# File lib/doorkeeper_sso_client/logging.rb, line 48 def warn(&block) self.class.warn(&block) end