Sha256: 713dfb0fb62d0fb7390b815b9d9cfd0d8e8adee33b00c7468320ba597433e275

Contents?: true

Size: 216 Bytes

Versions: 31

Compression:

Stored size: 216 Bytes

Contents

module DeviseLdapAuthenticatable

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

end

Version data entries

31 entries across 31 versions & 5 rubygems

Version Path
devise_ldap_authenticatable-0.8.7 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.6 lib/devise_ldap_authenticatable/logger.rb
houston-devise_ldap_authenticatable-0.7.1 lib/devise_ldap_authenticatable/logger.rb
houston-devise_ldap_authenticatable-0.7.0 lib/devise_ldap_authenticatable/logger.rb
xn_devise_ldap_authenticatable-0.8.5 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.5 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.4 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.3 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.1 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.0 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.8.0.pre lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.7.0 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.6.1 lib/devise_ldap_authenticatable/logger.rb
prathe_devise_ldap_authenticatable-0.6.0 lib/devise_ldap_authenticatable/logger.rb
charanya-devise_ldap_authenticatable-0.4.6.1 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.6.0 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.5.1 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.5.0 lib/devise_ldap_authenticatable/logger.rb
prathe_devise_ldap_authenticatable-0.4.10 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.10 lib/devise_ldap_authenticatable/logger.rb