2 namespace Robo\Contract;
4 use Robo\Contract\OutputAdapterInterface;
7 * Record and determine whether the current verbosity level exceeds the
8 * desired threshold level to produce output.
10 interface VerbosityThresholdInterface
12 const VERBOSITY_NORMAL = 1;
13 const VERBOSITY_VERBOSE = 2;
14 const VERBOSITY_VERY_VERBOSE = 3;
15 const VERBOSITY_DEBUG = 4;
17 public function setVerbosityThreshold($verbosityThreshold);
18 public function verbosityThreshold();
19 public function setOutputAdapter(OutputAdapterInterface $outputAdapter);
20 public function outputAdapter();
21 public function hasOutputAdapter();
22 public function verbosityMeetsThreshold();
23 public function writeMessage($message);