class OneLogin::RubySaml::Logging
Constants
- DEFAULT_LOGGER
Public Class Methods
debug(message)
click to toggle source
# File lib/onelogin/ruby-saml/logging.rb, line 17 def self.debug(message) return if !!ENV["ruby-saml/testing"] logger.debug message end
info(message)
click to toggle source
# File lib/onelogin/ruby-saml/logging.rb, line 23 def self.info(message) return if !!ENV["ruby-saml/testing"] logger.info message end
logger()
click to toggle source
# File lib/onelogin/ruby-saml/logging.rb, line 9 def self.logger @logger || (defined?(::Rails) && Rails.logger) || DEFAULT_LOGGER end
logger=(logger)
click to toggle source
# File lib/onelogin/ruby-saml/logging.rb, line 13 def self.logger=(logger) @logger = logger end