lib/gruf/profiler/interceptor.rb
##
# Profile the given report to logs
#
# @param [MemoryProfiler::Reporter] report
#
Profile the given report to logs
Profile the given report to logs
def profile(report)
        io_obj = pretty_print_options.fetch(:io, nil)
        report_string = io_obj ? report.pretty_print(io_obj, pretty_print_options) : report.pretty_print(pretty_print_options)
        log("gruf profile for #{request.method_name}:\n#{report_string}")
      end
def profile ( report ) io_obj = pretty_print_options . fetch ( :io , nil ) report_string = io_obj ? report . pretty_print ( io_obj , pretty_print_options ) : report . pretty_print ( pretty_print_options ) log ( "gruf profile for #{request.method_name}:\n#{report_string}" ) end
Profile the given report to logs
Profile the given report to logs
report
<not_specific>
<not_specific>
None