'pwd'] * default styles: ['*' => 'info'] * result: 'Running pwd' */ public function defaultStyles(); /** * Apply styles specified in the STYLE_CONTEXT_KEY context variable to * the other named variables stored in the context. The styles from * the context are unioned with the default styles. */ public function style($context); /** * Create a wrapper object for the output stream. If this styler * does not require an output wrapper, it should just return * its $output parameter. */ public function createOutputWrapper(OutputInterface $output); /** * Print an ordinary log message, usually unstyled. */ public function log($output, $level, $message, $context); /** * Print a success message. */ public function success($output, $level, $message, $context); /** * Print an error message. Used when log level is: * - LogLevel::EMERGENCY * - LogLevel::ALERT * - LogLevel::CRITICAL * - LogLevel::ERROR */ public function error($output, $level, $message, $context); /** * Print a warning message. Used when log level is: * - LogLevel::WARNING */ public function warning($output, $level, $message, $context); /** * Print a note. Similar to 'text', but may contain additional * styling (e.g. the task name). Used when log level is: * - LogLevel::NOTICE * - LogLevel::INFO * - LogLevel::DEBUG * * IMPORTANT: Symfony loggers only display LogLevel::NOTICE when the * the verbosity level is VERBOSITY_VERBOSE, unless overridden in the * constructor. Robo\Common\Logger emits LogLevel::NOTICE at * VERBOSITY_NORMAL so that these messages will always be displayed. */ public function note($output, $level, $message, $context); /** * Print an error message. Not used by default by StyledConsoleLogger. */ public function caution($output, $level, $message, $context); }