setup_pytest_logging#

API documentation for tradeexecutor.cli.log.setup_pytest_logging Python function.

setup_pytest_logging(request=None, mute_requests=True)[source]#

Setup logger in pytest environment.

Quiets out unnecessary logging subsystems.

Parameters:

request – pytest.fixtures.SubRequest instance

Returns:

Test logger - though please use module specific logger

Return type:

Logger