lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt in snowpack-1.0.0.alpha6 vs lib/snowpack/generators/application/templates/system/boot/monitor.rb.tt in snowpack-1.0.0.alpha7
- old
+ new
@@ -2,8 +2,9 @@
init do
require "dry/monitor/sql/logger"
end
start do
+ notifications.register_event :sql
Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications)
end
end