Class: DeviseSamlAuthenticatable::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/devise_saml_authenticatable/logger.rb

Class Method Summary collapse

Class Method Details

.send(message, logger = Rails.logger) ⇒ Object


4
5
6
7
8
# File 'lib/devise_saml_authenticatable/logger.rb', line 4

def self.send(message, logger = Rails.logger)
  if ::Devise.saml_logger
    logger.add 0, "  \e[36msaml:\e[0m #{message}"
  end
end