Page MenuHomePhabricator

Allow things to figure out if `--trace` was passed
ClosedPublic

Authored by epriestley on Mar 7 2016, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 10, 1:16 PM
Unknown Object (File)
Wed, May 7, 11:20 PM
Unknown Object (File)
Mon, May 5, 4:26 AM
Unknown Object (File)
Thu, Apr 24, 8:28 AM
Unknown Object (File)
Thu, Apr 24, 5:40 AM
Unknown Object (File)
Tue, Apr 22, 4:47 PM
Unknown Object (File)
Tue, Apr 22, 2:11 PM
Unknown Object (File)
Mon, Apr 21, 12:42 PM
Subscribers
None

Details

Summary

I want to make bin/phd debug only activate tracing if it was called with --trace, but there's no easy way to ask "is tracing enabled?" right now.

Provide such a method.

Test Plan

See next revision.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow things to figure out if `--trace` was passed.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 7 2016, 4:34 AM
Closed by commit rPHU62f63fc614a1: Allow things to figure out if `--trace` was passed (authored by Evan Priestley <epriestley@Orbital.local>, committed by epriestley). · Explain WhyMar 7 2016, 1:28 PM
This revision was automatically updated to reflect the committed changes.