lib/timber/events/http_server_response.rb in timber-2.0.17 vs lib/timber/events/http_server_response.rb in timber-2.0.19
- old
+ new
@@ -20,10 +20,10 @@
{headers: headers, request_id: request_id, status: status, time_ms: time_ms}
end
alias to_h to_hash
def as_json(_options = {})
- {:server_side_app => {:http_server_response => to_hash}}
+ {:http_server_response => to_hash}
end
def message
"Completed #{status} #{status_description} in #{time_ms}ms"
end
\ No newline at end of file