Sha256: 7779bf2e1ae2ad0002a59cb62c002fa9940b418a73d96b6869b12a6e47dddf83
Contents?: true
Size: 528 Bytes
Versions: 12
Compression:
Stored size: 528 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-samlnechotech/testing"] if defined? Rails Rails.logger.debug message else puts message end end def self.info(message) return if !!ENV["ruby-samlnechotech/testing"] if defined? Rails Rails.logger.info message else puts message end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems