Stop sub-type logging from printing Capabilities
commitaa02b12fd84d64bda9878edd35d714427ee0b130
authorScott Owens <sowens@fb.com>
Tue, 5 Apr 2022 10:36:29 +0000 (5 03:36 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 5 Apr 2022 10:36:29 +0000 (5 03:36 -0700)
treead0f7f2fdae2969a24e208366e4ca5467cdf654a
parent486c0852d18fdb82561a92560a522e7fbca55b6e
Stop sub-type logging from printing Capabilities

Summary: `hh_log_level('sub', 2)` is filled with capability related calls that aren't in the code and often obscure what I'm trying to debug. This turns them off unless the level is 3 or higher, since they are not useful except when trying to debug actual capability issues. Does this seem like something we should land?

Reviewed By: madgen

Differential Revision: D35361737

fbshipit-source-id: eeb1cd4438262e28c01cc88b90cc5e566e3ba370
hphp/hack/src/typing/typing_ops.ml
hphp/hack/src/typing/typing_subtype.ml
hphp/hack/src/typing/typing_utils.ml
hphp/hack/src/typing/typing_utils.mli