Sha256: 9d0bc529885e42bf7563cee4e36d164e18f296dff96629c14e1eb4c827b21361
Contents?: true
Size: 369 Bytes
Versions: 48
Compression:
Stored size: 369 Bytes
Contents
require 'active_support/logger' require 'incline/json_log_formatter' module Incline ## # Overrides the default formatter for the base logger. class JsonLogger < ::ActiveSupport::Logger ## # Sets the formatter to Incline::JsonLogFormatter. def initialize(*args) super @formatter = ::Incline::JsonLogFormatter.new end end end
Version data entries
48 entries across 48 versions & 1 rubygems