Sha256: 266703de839aed42017bca8aac7da545c6ae82a71cb904199396feee98d6ed29

Contents?: true

Size: 198 Bytes

Versions: 5

Compression:

Stored size: 198 Bytes

Contents

<%= application_module %>::Application.boot :monitor do
  init do
    require "dry/monitor/sql/logger"
  end

  start do
    Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha6 lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt
snowpack-1.0.0.alpha5 lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt
snowpack-1.0.0.alpha4 lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt
snowpack-1.0.0.alpha3 lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt
snowpack-1.0.0.alpha2 lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt