samples/context.rb in semlogr-0.3.0 vs samples/context.rb in semlogr-0.3.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
require 'bundler/setup'
require 'semlogr'
Semlogr.logger = Semlogr::Logger.create do |c|
c.write_to :console, formatter: Semlogr::Formatters::JsonFormatter.new