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
F18849964: D15422.id37177.diff
Oct 30 2025, 1:31 PM
F18771941: D15422.id37179.diff
Oct 8 2025, 11:06 PM
F18743448: D15422.id.diff
Oct 2 2025, 11:42 PM
F18142756: D15422.id37179.diff
Aug 14 2025, 1:56 PM
F18090634: D15422.id37177.diff
Aug 6 2025, 4:32 PM
F18052503: D15422.id37177.diff
Aug 4 2025, 2:43 AM
F18013917: D15422.id.diff
Aug 2 2025, 5:15 PM
F17972389: D15422.diff
Aug 1 2025, 3:37 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
Branch
trace1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11039
Build 13651: Run Core Tests
Build 13650: arc lint + arc unit

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.