Sha256: 3793109b3fc4eabbb5871da8341a72ef095e40928b65e116a626aff6cd819b97

Contents?: true

Size: 793 Bytes

Versions: 28

Compression:

Stored size: 793 Bytes

Contents

EffectiveLogging.setup do |config|
  # Configure Database Tables
  config.logs_table_name = :logs

  # Admin Screens Layout Settings
  # config.layout = { application: 'application', admin: 'admin' }

  # EffectiveLogger.info('my message') macros
  # The following exist: info, success, error, view, change, download, email, sign_in, sign_out
  # Add more here
  config.additional_statuses = []

  #########################################
  #### Automatic Logging Functionality ####
  #########################################

  # Log all active storage downloads
  config.active_storage_enabled = true

  # Log all sent emails
  config.email_enabled = true

  # Log all sign ins (successful only)
  config.sign_in_enabled = true

  # Log all sign outs
  config.sign_out_enabled = false
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
effective_logging-3.5.4 config/effective_logging.rb
effective_logging-3.5.3 config/effective_logging.rb
effective_logging-3.5.2 config/effective_logging.rb
effective_logging-3.5.1 config/effective_logging.rb
effective_logging-3.5.0 config/effective_logging.rb
effective_logging-3.4.1 config/effective_logging.rb
effective_logging-3.4.0 config/effective_logging.rb
effective_logging-3.3.0 config/effective_logging.rb
effective_logging-3.2.3 config/effective_logging.rb
effective_logging-3.2.2 config/effective_logging.rb
effective_logging-3.2.1 config/effective_logging.rb
effective_logging-3.2.0 config/effective_logging.rb
effective_logging-3.1.15 config/effective_logging.rb
effective_logging-3.1.14 config/effective_logging.rb
effective_logging-3.1.13 config/effective_logging.rb
effective_logging-3.1.12 config/effective_logging.rb
effective_logging-3.1.11 config/effective_logging.rb
effective_logging-3.1.10 config/effective_logging.rb
effective_logging-3.1.9 config/effective_logging.rb
effective_logging-3.1.8 config/effective_logging.rb