Sha256: f04d6a2e3b104824eabb9a291b3f738e77b5443963fafd3cab774324517b6d5b
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
require "dry/monitor" <%= config[:camel_cased_app_name] %>::Container.finalize :monitor do |_container| start do Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications) if settings[:env] == "development" Dry::Monitor::SQL::Logger.new(stdout_logger).subscribe(notifications) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kanji-web-0.3.1 | lib/kanji/templates/system/boot/monitor.rb.tt |
kanji-web-0.3.0 | lib/kanji/templates/system/boot/monitor.rb.tt |