install_rpc_logging

Documentation for eth_defi.rpc_url.install_rpc_logging function.

install_rpc_logging(*, from_environment=False)

Install RPC redaction while preserving an existing log record factory.

Repeated calls are idempotent. Each worker registers its own providers; logging setup can additionally seed endpoints from RPC environment values.

Parameters

from_environment (bool) – Register JSON_RPC_* and *_RPC_URL values.

Returns

None.

Return type

None