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
F13391774: D15422.diff
Tue, Jul 2, 11:46 AM
F13386892: D15422.diff
Mon, Jul 1, 6:02 AM
F13382744: D15422.id37179.diff
Sun, Jun 30, 7:23 AM
F13354002: D15422.id37177.diff
Mon, Jun 24, 1:37 AM
F13326226: D15422.diff
Sat, Jun 15, 3:18 AM
F13325558: D15422.diff
Sat, Jun 15, 1:59 AM
F13313040: D15422.diff
Tue, Jun 11, 7:25 AM
F13299691: D15422.diff
Fri, Jun 7, 8:19 AM
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.