Fork me on GitHub

bolero.utils.log.HideExtern

class bolero.utils.log.HideExtern(stream='stdout')[source]

Hide one of the standard streams for external components.

Based on http://stackoverflow.com/a/14797594/915743

Parameters:
stream : string, optional (default: ‘stdout’)

Either ‘stdout’ or ‘stderr’.

__init__(stream='stdout')[source]