mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
c304e34c2d
Summary: this is used up the stack. This introduces generic scuba logging for the cli layer. In case of the open source build, `log` will be a no-op as suggested in `cli/telemetry.py`. this is used as so: ``` from .telemetry import build_base_sample, log # for example, I am adding the field "status" to know that this is a status call. sample = instance.build_sample("status").add_string("something", "another") instance.log(sample) ``` Reviewed By: simpkins Differential Revision: D19816913 fbshipit-source-id: b055d4d1e29456e3549292e6f5047b935f11e4e2 |
||
---|---|---|
.. | ||
lib | ||
cli_test.py | ||
config_test.py | ||
debug_test.py | ||
find_eden_test.py | ||
interp_test.py | ||
logfile_test.py | ||
mtab_test.py | ||
stats_test.py | ||
systemd_test.py | ||
tabulate_test.py | ||
telemetry_test.py | ||
top_test.py | ||
util_test.py | ||
wait_for_shutdown_test.py |