Sha256: d11dc67838c18e2db853423d21295f841be592140cbea0ad7c0914037cdf1afc
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
# Simplistic log class when we're running in Rails module Federa 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
5 entries across 5 versions & 1 rubygems