Homec4science

Add PhutilDeferredLog, for logging things later

Authored by epriestley <git@epriestley.com> on Apr 23 2012, 23:09.

Description

Add PhutilDeferredLog, for logging things later

Summary:
This is a step toward creating a unified access log, which is a Facebook request.

I structured it as an object that logs on destruction because it makes it easier to ensure we log everything while making the logs maximally useful (some information that's useful to put in the logs isn't available until later in the request, e.g. Conduit user).

Test Plan: Ran unit tests.

Reviewers: jungejason, vrana, btrahan

Reviewed By: vrana

CC: aran, ps, Girish

Differential Revision: https://secure.phabricator.com/D2296

Details

Committed
epriestley <git@epriestley.com>Apr 23 2012, 23:09
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU38f295e041da: Explicitly set URL parameter separator for external URLs
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU4206265b91f0: Add PhutilDeferredLog, for logging things later (authored by epriestley <git@epriestley.com>).Apr 23 2012, 23:09