lib/dry/monitor/sql/logger.rb in dry-monitor-0.3.0 vs lib/dry/monitor/sql/logger.rb in dry-monitor-0.3.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'dry-configurable'
require 'dry/core/extensions'
require 'dry/monitor/notifications'
module Dry
@@ -26,10 +28,10 @@
@colorizer ||= Colorizers::Rouge.new(config.theme)
end
end
setting :theme, nil
- setting :message_template, %( Loaded %s in %sms %s).freeze
+ setting :message_template, %( Loaded %s in %sms %s)
attr_reader :config
attr_reader :logger
attr_reader :template