Current Path : /opt/alt/php53/usr/share/doc/pear/ConsoleTools/docs/ |
Current File : //opt/alt/php53/usr/share/doc/pear/ConsoleTools/docs/tutorial_example_output_targets.php |
<?php require_once 'tutorial_autoload.php'; $output = new ezcConsoleOutput(); $output->formats->error->color = 'red'; $output->formats->error->style = array( 'bold' ); $output->formats->error->target = ezcConsoleOutput::TARGET_STDERR; $output->outputLine( 'Unable to connect to database', 'error' ); ?>