Sha256: 64d8d7758c7ded216318d9dc44b0b463cf6c13cb7f94ec3e9307dc87364373b1
Contents?: true
Size: 514 Bytes
Versions: 23
Compression:
Stored size: 514 Bytes
Contents
# Simplistic log class when we're running in Rails module OneLogin module RubySaml class Logging def self.debug(message) return if !!ENV["ruby-saml/testing"] if defined? Rails Rails.logger.debug message else puts message end end def self.info(message) return if !!ENV["ruby-saml/testing"] if defined? Rails Rails.logger.info message else puts message end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems