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.4.9 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.7 lib/devise_ldap_authenticatable/logger.rb
charanya-devise_ldap_authenticatable-0.4.6 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.6 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.5 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.4 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.3 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.2 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.1.1 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.1 lib/devise_ldap_authenticatable/logger.rb
devise_ldap_authenticatable-0.4.0 lib/devise_ldap_authenticatable/logger.rb