<s> from robot . errors import DataError <EOL> from . dotted import DottedOutput <EOL> from . quiet import NoOutput , QuietOutput <EOL> from . verbose import VerboseOutput <EOL> def ConsoleOutput ( type = '<STR_LIT>' , width = <NUM_LIT> , colors = '<STR_LIT>' , markers = '<STR_LIT>' , <EOL> stdout = None , stderr = None ) : <EOL> upper = type . upper ( ) <EOL> if upper == '<STR_LIT>' : <EOL> return VerboseOutput ( width , colors , markers , stdout , stderr ) <EOL> if upper == '<STR_LIT>' : <EOL> return DottedOutput ( width , colors , stdout , stderr ) <EOL> if upper == '<STR_LIT>' : <EOL> return QuietOutput ( colors , stderr ) <EOL> if upper == '<STR_LIT>' : <EOL> return NoOutput ( ) <EOL> raise DataError ( "<STR_LIT>" <EOL> "<STR_LIT>" % type ) </s>
