Sha256: ff9219684885cb6ef985e209db54d2b77717a7bda7f1da1b969cb3bf5115e58b

Contents?: true

Size: 140 Bytes

Versions: 28

Compression:

Stored size: 140 Bytes

Contents

require 'json'
module Lograge
  module Formatters
    class Json
      def call(data)
        ::JSON.dump(data)
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
lograge-0.11.2 lib/lograge/formatters/json.rb
lograge-0.11.1 lib/lograge/formatters/json.rb
lograge-0.11.0 lib/lograge/formatters/json.rb
lograge-0.10.0 lib/lograge/formatters/json.rb
lograge-0.9.0 lib/lograge/formatters/json.rb
lograge-0.8.0 lib/lograge/formatters/json.rb
lograge-0.7.1 lib/lograge/formatters/json.rb
lograge-0.7.0 lib/lograge/formatters/json.rb
lograge-0.6.0 lib/lograge/formatters/json.rb
lograge-0.5.1 lib/lograge/formatters/json.rb
lograge-0.5.0 lib/lograge/formatters/json.rb
lograge-0.5.0.rc2 lib/lograge/formatters/json.rb
lograge-0.5.0.rc1 lib/lograge/formatters/json.rb
lograge-0.4.1 lib/lograge/formatters/json.rb
lograge-0.4.0 lib/lograge/formatters/json.rb
lograge-0.4.0.rc2 lib/lograge/formatters/json.rb
lograge-0.4.0.rc1 lib/lograge/formatters/json.rb
lograge-0.4.0.pre4 lib/lograge/formatters/json.rb
lograge-0.4.0.pre2 lib/lograge/formatters/json.rb
lograge-0.4.0.pre lib/lograge/formatters/json.rb