Class: OneLogin::RubySaml::Logging
- Inherits:
- 
      Object
      
        - Object
- OneLogin::RubySaml::Logging
 
- Defined in:
- lib/onelogin/ruby-saml/logging.rb
Class Method Summary collapse
Class Method Details
.debug(message) ⇒ Object
| 5 6 7 8 9 10 11 12 13 | # File 'lib/onelogin/ruby-saml/logging.rb', line 5 def self.debug() return if !!ENV["ruby-saml/testing"] if defined? Rails Rails.logger.debug else puts end end | 
.info(message) ⇒ Object
| 15 16 17 18 19 20 21 22 23 | # File 'lib/onelogin/ruby-saml/logging.rb', line 15 def self.info() return if !!ENV["ruby-saml/testing"] if defined? Rails Rails.logger.info else puts end end |