Sha256: e037d0357cded73deb0b1c1c6a3f756cd3daf1a44363cbf00d40a3ea37b666c1
Contents?: true
Size: 374 Bytes
Versions: 8
Compression:
Stored size: 374 Bytes
Contents
class CustomContextController < ApplicationController include ContextualizedLogs::ContextualizedController def contextualize_request(controller) super(controller) ContextualizedLogs::ContextualizedController.current_context.custom_attributes = { http: { service: 'rails' } } end def show render json: {}, status: 200 end end
Version data entries
8 entries across 8 versions & 1 rubygems