Sha256: 56dd05993fd76913119922b5b9285a9686bd4067f2f2f8e6c85b1c53dc65cd70

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

OhMyLog::Log.configure do |config|
  config.print_log = true
  selector = OhMyLog::Log::Selector.universal_for(actions: {"EXCEPT" => ["index"]})
  #selector.set_status_codes("ONLY" => [(0..200)])
  config.add_selector(selector)
  OhMyLog.start if File.directory?(Rails.root + "app/models/observers/oh_my_log")
  #put your configs here
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oh_my_log-1.0.2 blue_print/oh_my_log_initializer.rb
oh_my_log-1.0.1 blue_print/oh_my_log_initializer.rb