Sha256: 264d2767eba321cc2393c4284deb3b5404e5b731a005c36efd278258c123c95e
Contents?: true
Size: 510 Bytes
Versions: 11
Compression:
Stored size: 510 Bytes
Contents
# Simplistic log class when we're running in Rails module Onelogin module Saml 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
11 entries across 11 versions & 4 rubygems