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.1.7 config/effective_logging.rb
effective_logging-3.1.6 config/effective_logging.rb
effective_logging-3.1.5 config/effective_logging.rb
effective_logging-3.1.4 config/effective_logging.rb
effective_logging-3.1.3 config/effective_logging.rb
effective_logging-3.1.2 config/effective_logging.rb
effective_logging-3.1.1 config/effective_logging.rb
effective_logging-3.1.0 config/effective_logging.rb