Sha256: 3fac120930ed858cb59b89110d20e012f85bc80c92b0363c59e264e1ec90f4db

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

# Patch ActiveModelSerializers logger
require 'active_model_serializers/logging'

module ActiveModelSerializers::Logging
  include SemanticLogger::Loggable

  private
  def tag_logger(*tags, &block)
    logger.tagged(*tags, &block)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_semantic_logger-3.3.1 lib/rails_semantic_logger/extensions/active_model_serializers/logging.rb