Class: Onelogin::Saml::Logging
- Inherits:
-
Object
- Object
- Onelogin::Saml::Logging
- Defined in:
- lib/onelogin/ruby-saml-bm/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-bm/logging.rb', line 5 def self.debug() return if !!ENV["ruby-saml-bm/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-bm/logging.rb', line 15 def self.info() return if !!ENV["ruby-saml-bm/testing"] if defined? Rails Rails.logger.info else puts end end |